99designs / iamy

A cli tool for importing and exporting AWS IAM configuration to YAML files
MIT License
238 stars 24 forks source link

Delete instance-profile before roles #68

Closed dctrwatson closed 4 years ago

dctrwatson commented 4 years ago

Can't delete a role if it's still attached to an instance-profile. It will fail with the error: An error occurred (DeleteConflict) when calling the DeleteRole operation: Cannot delete entity, must remove roles from instance profile first.