-
Notifications
You must be signed in to change notification settings - Fork 14
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
The resource 'hsdp_iam_group_membership' is not removing user membership from IAM on destroy #311
Comments
@l-lafin tested this and it is working as expected. Can you provide more details, or better a setup where you can reproduce this? |
Signed-off-by: Andy Lo-A-Foe <[email protected]>
@l-lafin added additional test code and was able to observe deletion of users group on destroy. On key thing is that groups referred to in |
Hi @loafoe, We are still trying to fix this issue on our side :(, I tried to simulate using plain Terraform and indeed I wasn't able to see the error, but for some reason when I'm using Terragrunt I'm having this error. |
You are right, it should be set to I'm not a fan of terragrunt. It feels like what coffeescript was to javascript i.e. plastering over some imperfections and making things more opaque but, by design, also making runs less transparent.. |
Hi @loafoe, I just discovered what was happening. The issue happens when the service identity doesn't have the permission I also dived even further and took a look into the provider code and it seems to be calling the |
We also tested the IAM API itself and it works when the identity has any of those permissions. |
The resource 'hsdp_iam_group_membership' is not removing user membership from IAM on destroy nor when removing the user from the list, but it also doesn't fail the terraform run and claim a successful execution.
Version: 0.41.0
The text was updated successfully, but these errors were encountered: