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
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.
# 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",
]
}
}
}
}
Steps to Reproduce
Create permission in artifactory
Create artifactory_permission_target with the same permission, users and groups as in the artifactory
Import artifactory_permission_target into terraform state
terraform apply
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 = "**"
The text was updated successfully, but these errors were encountered:
avkudryashov
changed the title
Non-described argument in includes_pattern artifactory_permission_target resource
Non-described argument in artifactory_permission_target resource
Sep 24, 2020
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
The text was updated successfully, but these errors were encountered: