assetnote / ghostbuster

Eliminate dangling elastic IPs by performing analysis on your resources within all your AWS accounts.
GNU Affero General Public License v3.0
264 stars 35 forks source link

Introduce autorolestargetname to allow for custom target IAM roles #15

Open nmasur opened 11 months ago

nmasur commented 11 months ago

Instead of hardcoding GhostBusterTargetAccountRole, allow for an optional role name. This is helpful for Control Tower users, since all accounts include the aws-controltower-ReadOnlyExecutionRole role for the Audit account.

Fixes #14 .

I haven't spent much time on this pull request. I just came up with something and introduced it as an example.