From 2789a1f7661d557f40720b19b0d42e46d163755c Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Fri, 20 Sep 2024 00:21:49 +0300 Subject: [PATCH 1/2] Update aws-nuke.yaml --- .github/aws-nuke.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/aws-nuke.yaml b/.github/aws-nuke.yaml index 45a85a9..cfb456d 100644 --- a/.github/aws-nuke.yaml +++ b/.github/aws-nuke.yaml @@ -50,7 +50,6 @@ presets: filters: IAMRole: - "OrganizationAccountAccessRole" - IAMRolePolicy: - property: "role:RoleName" type: "regex" From 04b84b87ae0c4a43999012c90feade7ca29464ac Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Fri, 20 Sep 2024 00:24:01 +0300 Subject: [PATCH 2/2] Update aws-nuke.yaml --- .github/aws-nuke.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/aws-nuke.yaml b/.github/aws-nuke.yaml index cfb456d..51e5649 100644 --- a/.github/aws-nuke.yaml +++ b/.github/aws-nuke.yaml @@ -32,9 +32,11 @@ regions: - us-gov-east-1 - us-gov-west-1 + +resource-types: # don't nuke IAM users -excludes: - - IAMUser + excludes: + - IAMUser account-blocklist: - "999999999999" # production