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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix grafana_team members reordering #385

Merged
merged 2 commits into from Feb 10, 2022

Conversation

julienduchesne
Copy link
Member

It's managed as a set by the Grafana API (and client) but we have it as a list in the resource
This means that whenever the ordering change, it's not being pushed to the API and we have a drift (see issue for more info)

This makes the members attribute a set. Migration is not an issue since both lists and sets are represented as JSON lists in the state (I tested it)

Closes #384

It's managed as a set by the Grafana API (and client) but we have it as a list in the resource
This means that whenever the ordering change, it's not being pushed to the API and we have a drift (see issue for more info)

This makes the members attribute a set. Migration is not an issue since both lists and sets are represented as JSON lists in the state (I tested it)

Closes #384
@julienduchesne julienduchesne requested a review from a team as a code owner February 10, 2022 19:49
Copy link
Contributor

@inkel inkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@julienduchesne julienduchesne merged commit 5c299d0 into master Feb 10, 2022
@julienduchesne julienduchesne deleted the julienduchesne/fix-team-members-reordering branch February 10, 2022 19:59
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

Successfully merging this pull request may close these issues.

grafana_team members ordering causes terraform changes
2 participants