cloud-nuke icon indicating copy to clipboard operation
cloud-nuke copied to clipboard

New feature: ability to delete IAM roles

Open zackproser opened this issue 3 years ago • 5 comments

To assist with hitting the IAM roles limit in AWS - we could use the ability to delete IAM roles - but to also provide a list of roles that should be preserved and not deleted.

zackproser avatar Aug 13 '20 22:08 zackproser

I think we'd want to support specifying regular expressions for which IAM roles to delete via the config file.

brikis98 avatar Aug 14 '20 07:08 brikis98

Related to #116, which addresses IAM users and policies

byarbrough avatar Oct 05 '20 12:10 byarbrough

@zackproser I see you've had some thoughts here and assigned @rhoboat. I wonder what's the latest on this issue? Is there any action for us to take?

ina-stoyanova avatar Sep 27 '21 16:09 ina-stoyanova

@ina-stoyanova Hmm, from looking through internal messages it seems we initially were planning to use this one as a trial project? I'm not sure now why I assigned it to Rho - unless they were going to take a look at this?

zackproser avatar Oct 05 '21 17:10 zackproser

Hm, ok! Thanks for sharing!

I think in that case, I'll leave this issue open, as it's still a desired feature.

ina-stoyanova avatar Oct 06 '21 12:10 ina-stoyanova

Support for IAM Roles and regex matching via config file were added in https://github.com/gruntwork-io/cloud-nuke/pull/330

zackproser avatar Sep 08 '22 11:09 zackproser