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
2 parents d442514 + 04b84b8 commit a067e5a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/aws-nuke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ regions:
- us-gov-east-1
- us-gov-west-1


resource-types:
# don't nuke IAM users
excludes:
- IAMUser
- IAMUserAccessKey
- IAMUserPolicyAttachment
excludes:
- IAMUser
- IAMUserAccessKey
- IAMUserPolicyAttachment

account-blocklist:
- "999999999999" # production
Expand All @@ -52,7 +54,6 @@ presets:
filters:
IAMRole:
- "OrganizationAccountAccessRole"

IAMRolePolicy:
- property: "role:RoleName"
type: "regex"
Expand Down

0 comments on commit a067e5a

Please sign in to comment.