5.x: create_iam_tag_namespace
is not indepotent after first creation
#789
Labels
bug
Something isn't working
Community Note
Terraform Version and Provider Version
Affected Resource(s)
modules/iam
:tagging.tf
->tag_namespace_id_found
+create_iam_tag_namespace
local var.the latest is then used as count boolean to create the resources
oci_identity_tag_namespace
+oci_identity_tag
Terraform Configuration Files
iam.tfvars
Debug Output
Panic Output
Expected Behavior
when we run the terraform apply, then on the first run it creates the
oci_identity_tag_namespace
+oci_identity_tag
resources, ok everything actually works. the following runs of plan/apply detects the resources exists and keep them.Actual Behavior
when we run the terraform apply, then on the first run it creates the
oci_identity_tag_namespace
+oci_identity_tag
resources, ok everything actually works, but then, when we run plan/apply it a second+ time, the logic detects they already exists and try to delete them.Steps to Reproduce
Important Factoids
the issue seems related to the logic related to the create_iam_tag_namespace
References
The text was updated successfully, but these errors were encountered: