Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

property_sets not working #80

Open
ShreyasNBS opened this issue Jul 1, 2020 · 1 comment
Open

property_sets not working #80

ShreyasNBS opened this issue Jul 1, 2020 · 1 comment

Comments

@ShreyasNBS
Copy link
Contributor

ShreyasNBS commented Jul 1, 2020

Community Note

  • 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.

@codebop
Copy link

codebop commented Aug 15, 2020

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants