Open ShreyasNBS opened 4 years ago
@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.