This is an archive of the discontinued Mercurial Phabricator instance.

automation: detach policies before deleting role
ClosedPublic

Authored by indygreg on Apr 19 2019, 8:20 AM.

Details

Summary

You can't delete an IAM role that has attached policies.

With this change, the purge-ec2-resources command now works.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Apr 19 2019, 8:20 AM
This revision was automatically updated to reflect the committed changes.