Skip to content

Commit

Permalink
Kepp IAM Users and Organization Role
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Sep 19, 2024
1 parent 7146581 commit 5e2b184
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/aws-nuke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,26 @@ regions:
- us-gov-east-1
- us-gov-west-1

# don't nuke IAM users
excludes:
- IAMUser

account-blocklist:
- "999999999999" # production

accounts:
# testing account
126450723953: {}
126450723953:
presets:
- defaults

presets:
defaults:
filters:
IAMRole:
- "OrganizationAccountAccessRole"

IAMRolePolicy:
- property: "role:RoleName"
type: "regex"
value: "^OrganizationAccountAccessRole$"

0 comments on commit 5e2b184

Please sign in to comment.