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
Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
12.17
Affected Resource(s)
property_sets array on all repositories.
Terraform Configuration Files
I previously had property_sets = [artifactory] set on all repos (remote and local). I later removed property_sets from my repo resource and ran tf apply. However if I navigated to any of my local repos and went to Advanced, I could see that property_sets was still showing Artifactory property as Selected. If I ran tf plan once more, it confirmed my findings, since it again showed that property_sets on each repo resources needed changing.
I then tried passing an empty property_sets array instead of deleting the property from the repo resource. Unfortunately that exhibits the same issue.
Is this is a known bug or some issue with Jfrog API?
Debug Output
NA
Panic Output
NA
Expected Behavior
property_sets property/array should get updated as per terraform code.
Actual Behavior
property_sets value get ignored after first apply.
The text was updated successfully, but these errors were encountered:
@ShreyasNBS From what I've seen, the 'artifactory' property set seems to be automatically re-applied after it gets removed. I noticed that there is no property set with that name in the property sets page, so I think it's an empty default that the server just keeps applying as a placeholder for some reason. I'm not sure if it also gets applied to non-empty property set lists as well or just when the list is empty. Hope this helps.
Community Note
Terraform Version
12.17
Affected Resource(s)
property_sets array on all repositories.
Terraform Configuration Files
I previously had property_sets = [artifactory] set on all repos (remote and local). I later removed property_sets from my repo resource and ran tf apply. However if I navigated to any of my local repos and went to Advanced, I could see that property_sets was still showing Artifactory property as Selected. If I ran tf plan once more, it confirmed my findings, since it again showed that property_sets on each repo resources needed changing.
I then tried passing an empty property_sets array instead of deleting the property from the repo resource. Unfortunately that exhibits the same issue.
Is this is a known bug or some issue with Jfrog API?
Debug Output
NA
Panic Output
NA
Expected Behavior
property_sets property/array should get updated as per terraform code.
Actual Behavior
property_sets value get ignored after first apply.
The text was updated successfully, but these errors were encountered: