jfrog / terraform-provider-xray

Terraform provider to manage JFrog Xray
https://jfrog.com/xray/
Apache License 2.0
151 stars 12 forks source link

Error: Invalid string date type 'all-releaseBundles' is missing #150

Closed AdiUbarale closed 11 months ago

AdiUbarale commented 12 months ago

Hello Team, We have imported the one of the xray_watch to terraform using xray_watch resource, while reapplying the xray_watches resource using 'terraform' it throughs below error.

Error: Invalid string expected type to be one of [all-repos repository all-builds build project all-projects], got all-releaseBundles

image

Snip of resource block image

We believe that resource type 'releaseBundles' is missing here is causing the error. Please have a look and any quick fix to this problem is highly appreciated.

Expected behavior Import the existing 'xray watches' using terraform xray provider, copy the configuration from terraform state, update watch_recipients details to configuration locally and re-apply the terraform without any error.

alexhung commented 11 months ago

@AdiUbarale Thanks for the report! We will add the support for release bundles soon.