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

Cannot Delete IAM User with SSH Keys #470

Closed
mkhaled93 opened this issue Feb 9, 2020 · 2 comments
Closed

Cannot Delete IAM User with SSH Keys #470

mkhaled93 opened this issue Feb 9, 2020 · 2 comments
Labels
kind/resource Adding or changing AWS resources. status/help-wanted

Comments

@mkhaled93
Copy link

Hi,

I am trying to delete some IAM users, Do we have any options to force the deletion rather than deleting the login profile, policy attachments and access keys first?

Because I can't find the resource SSH Keys for the Code Commit. So getting this error while trying deleting the IAM user with SSH keys attached:
"ERRO[0046] DeleteConflict: Cannot delete entity, must remove referenced objects first"

Thanks

@svenwltr
Copy link
Member

Hello @mkhaled93. It would be possible to enable force deletion via feature-flags, if the AWS API allows it. Alternatively a resource for Code Commit Keys could be added.

@wes-novack
Copy link

This was fixed via #533 , this issue should be good to close now.

@svenwltr svenwltr closed this as completed Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/resource Adding or changing AWS resources. status/help-wanted
Projects
None yet
Development

No branches or pull requests

3 participants