-
Notifications
You must be signed in to change notification settings - Fork 422
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
Terraform Destroy on Role Grant will remove ALL users in Role, not a specific user #189
Comments
i am having the same issue |
@knighteagle789 did the plan list all users, or only the one in your configuration? |
I think this may unfortunately end up being a result of the way we have to implement the read path for these resources. The grant resources all have to be exclusive currently. |
@ryanking has there been any further discussion on this? I'm finding that if I've used the When destroying a user or role, is it possible to remove only the users or roles granted in that particular module instead of destroying the role grant entirely? |
We are closing this issue as part of a cleanup described in announcement. If you believe that the issue is still valid in v0.89.0, please open a new ticket. |
When I run a terraform Role_Grant, it adds the specific user as expected. But when I run the destroy afterward, it queries out and grabs All of the users for that role and removes them.
I would expect to only see the specific user that was added to the role to be removed from the role.
The text was updated successfully, but these errors were encountered: