Skip to content

Instantly share code, notes, and snippets.

@dmikey
Created May 28, 2024 20:03
Show Gist options
  • Save dmikey/c78c58ffbe1ac9a750092f20ac4d5900 to your computer and use it in GitHub Desktop.
Save dmikey/c78c58ffbe1ac9a750092f20ac4d5900 to your computer and use it in GitHub Desktop.
nuke some aws
---
regions:
- "ap-northeast-1"
- "ap-northeast-2"
- "ap-northeast-3"
- "ap-south-1"
- "ap-southeast-1"
- "ap-southeast-2"
- "ca-central-1"
- "eu-central-1"
- "eu-north-1"
- "eu-west-1"
- "eu-west-2"
- "eu-west-3"
- "global"
- "sa-east-1"
- "us-east-1"
- "us-east-2"
- "us-west-1"
- "us-west-2"
account-blocklist:
- "999999999999" # production
resource-types:
# don't nuke IAM users
excludes:
- IAMUser
- IAMRole
- S3Object
- S3Bucket
accounts:
"000000000000": {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment