Open kroc353 opened 2 years ago
I can confirm I see a similar behavior with other resource types (category, alert and view have been observed with this behavior).
In my case the resources were deleted outside of terraform but as mentioned by @kroc353, the provider should reconcile to the desired state instead of erroring out.
We will look into fixing this. We do not have a precise timeline on when it will be complete.
Has there been any progress on this issue?
Confirming that the issue still exists at the latest available provider. Thank you.
terraform version
Terraform v1.3.7
on darwin_arm64
+ provider registry.terraform.io/logdna/logdna v1.14.2
logdna terraform resource
logdna_archive
creates successfully , and destroys successfully, but if modified outside of terraform, produces error during plan, apply, or destroy.Terraform Version
Expected/Desired Behavior
If the logdna instance's archive configuration is modified outside of terraform, such as a bucket setting was changed OR the archive setting was disabled completely, subsequent terraform plan or apply should identify this change and return the configuration to IaC desired state.
Actual behavior witnessed
Logdna archiving is successfully implemented with the configuration. If not modifications are made outside of terraform, the configuration can be removed with a terraform destroy. But , when testing a real world scenario of configuration change outside of terraform, an error is received during the terraform plan, apply or destroy's state refresh.
Error message
Terraform module code