Open avkudryashov opened 3 years ago
An argument is added to the artifactory_permission_target resource after import. It is also added when the artifactory_permission_target resource is created from scratch.
Terraform v0.12.29
resource "artifactory_permission_target" "test-team" { name = "test-team" repo { includes_pattern = ["**",] repositories = [ "datalab-docker-local", ] actions { groups { name = "test-team" permissions = ["manage", "delete", "write", "annotate", "read"] } users { name = "test-deploy" permissions = ["delete", "write", "annotate", "read"] } } } }
No changes. Infrastructure is up-to-date.
# artifactory_permission_target.test-team will be updated in-place ~ resource "artifactory_permission_target" "test-team" { id = "test-team" + includes_pattern = "**" name = "test-team" repo { excludes_pattern = [] includes_pattern = [ "**", ] repositories = [ "datalab-docker-local", ] actions { groups { name = "test-team" permissions = [ "annotate", "delete", "manage", "read", "write", ] } users { name = "test-deploy" permissions = [ "annotate", "delete", "read", "write", ] } } } }
I expect to see a message "No changes. Infrastructure is up-to-date." Instead, the resource is updated with the addition this argument
+ includes_pattern = "**"
migrated -> https://github.com/jfrog/terraform-provider-artifactory/issues/17
This has been closed in the new repo. Suggest the same is done here.
An argument is added to the artifactory_permission_target resource after import. It is also added when the artifactory_permission_target resource is created from scratch.
Terraform Version
Terraform v0.12.29
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Actual Behavior
Steps to Reproduce
I expect to see a message "No changes. Infrastructure is up-to-date." Instead, the resource is updated with the addition this argument