You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Terraform can plan two watches I am implementing but give weird indesript "Got invalid watch" errors when attempting to apply. As far as I can tell they are in spec and all the resources they require exist.
# module.terraform-jfrog-xray.xray_watch.dev will be created
+ resource "xray_watch""dev" {
+ active = true
+ description = "all development repos"
+ id = (known after apply)
+ name = "dev-watch"
+ assigned_policy {
+ name = "dev-env"
+ type = "security"
}
+ watch_resource {
+ bin_mgr_id = "default"
+ name = "xxx-dev-remote-external"
+ repo_type = "remote"
+ type = "repository"
}
+ # ~150 other [watch_resources]
}
Error
│ Error: {"error":"Got invalid watch"}
│
│ with module.terraform-jfrog-xray.xray_watch.dev,
│ on ../../terraform-jfrog-xray/watches.tf line 62, in resource "xray_watch""dev":
│ 62: resource "xray_watch""dev" {
│
╵
Describe the bug
Terraform can plan two watches I am implementing but give weird indesript "Got invalid watch" errors when attempting to apply. As far as I can tell they are in spec and all the resources they require exist.
Source:
Plan
Error
Versions of tf + providers:
terraform_1.7.5_linux_amd64.zip
jfrog/project v1.5.2
jfrog/platform v1.7.4
jfrog/artifactory v10.8.0
jfrog/xray v2.8.1
Expected behavior
I'd expect it to apply properly or at least give me a clue as to what is going wrong here.
The text was updated successfully, but these errors were encountered: