-
-
Notifications
You must be signed in to change notification settings - Fork 71
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource commercetools_associate_role: order of permissions #505
Comments
Hi @md283aa yeah looks like we need to improve the slice ordering for the permissions. I will take a look at this as soon as I can find some time! |
Is this bug really fixed. I have just tested it again and got the same error with TF version 1.7.5 and provider version 1.17.0
|
Hi @demeyerthom, I had another look at this bug and I can still reproduce it. I already fixed this and could provide a PR for this. Should we reopen this ticket, or do I have to create a new one? Regards Thorsten |
Version information
Describe the bug
When creating a commercetools_associate_role resource the array of permissions is not handled correctly. The permissions are obviously stored in a random order (or at least in a different order as the input array). When comparing the resource in commercetools with the tf spec it is always considered as different.
When applying the tf resource initially it returns:
To Reproduce
terraform plan
without changing somethingterraform plan
againExpected behavior
Order of permissions is not taken into account when comparing permissions
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
The text was updated successfully, but these errors were encountered: