-
Notifications
You must be signed in to change notification settings - Fork 227
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
grafana_folder_permission do not respect state #142
Labels
Comments
Removing the folder_permission from terraform state fixes this error for me. Of course this should be fixed in the provider instead. |
any update on missing terraform import on grafana_folder_permission ? |
julienduchesne
added a commit
that referenced
this issue
Nov 22, 2023
Closes #142 When programatically managing permissions, it can be useful to keep the permissions resource but remove all permissions Also, without this change, resources with no permissions cannot be imported because the permissions resources are invalid with an empty set of permissions Also updated the docs to make it clear that it manages the whole set of permissions.
julienduchesne
added a commit
that referenced
this issue
Nov 23, 2023
Closes #142 When programatically managing permissions, it can be useful to keep the permissions resource but remove all permissions Also, without this change, resources with no permissions cannot be imported because the permissions resources are invalid with an empty set of permissions Also updated the docs to make it clear that it manages the whole set of permissions.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
But we have two teams in tf state and only one team in web iface.
terraform will fail with
Error: insufficient items for attribute "permissions"; must have at least 1
The text was updated successfully, but these errors were encountered: