Skip to content

Commit

Permalink
nuke more resources (#207)
Browse files Browse the repository at this point in the history
Add more resources to be used with aws-nuke.

### Test Plan
ran to test `aws-nuke --profile cztack-ci-1 --config aws-nuke.yml --no-dry-run`

### References
* https://github.com/rebuy-de/aws-nuke
  • Loading branch information
ryanking authored Jun 29, 2020
1 parent 26b53c9 commit 9c9ef09
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions aws-nuke.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
regions:
- us-east-1
- us-east-2
- us-west-1
- us-west-2

account-blacklist:
Expand All @@ -11,20 +14,28 @@ accounts:
- cztack-ci
- edu
EC2SecurityGroup:
- type: glob
value: "shared-infra-cztack-ci-bastion-*"


- property: Name
type: contains
value: bastion
EC2Instance:
- property: "tag:env"
value: "cztack-ci"

resource-types:
# we can add to this over time
targets:
- RDSDBCluster
- RDSSnapshot
- RDSInstance
- RDSDBClusterParameterGroup
- RDSDBParameterGroup
- EC2Image
- EC2Snapshot
- EC2Instance
- EC2KeyPair
- EC2SecurityGroup
- EC2Snapshot
- EFSFileSystem
- EFSMountTarget
- ElasticacheCacheCluster
- IAMRole
- RDSDBCluster
- RDSDBClusterParameterGroup
- RDSDBParameterGroup
- RDSInstance
- RDSSnapshot
- S3Bucket

0 comments on commit 9c9ef09

Please sign in to comment.