Skip to content

Commit

Permalink
Nuke EMR, IAM Groups, EC2 Key Pairs (#99)
Browse files Browse the repository at this point in the history
* upgrade geodesic

* nuke EMR, IAM Groups, EC2 Keypairs
  • Loading branch information
osterman authored Jul 3, 2020
1 parent c357a0e commit 3db6dac
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/aws-nuke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ resource-types:
- IAMRole
- IAMRolePolicyAttachment
- IAMPolicy
- IAMGroup
- IAMGroupPolicyAttachment
- S3Object
- S3Bucket
- AutoScalingGroup
Expand All @@ -31,6 +33,7 @@ resource-types:
- EC2NetworkACL
- EC2SecurityGroup
- EC2NetworkInterface
- EC2KeyPair
- ECSService
- ECSCluster
- EKSCluster
Expand All @@ -44,6 +47,7 @@ resource-types:
- CloudformationStack
- RDSInstance
- CloudWatchLogsLogGroup
- EMRCluster

# don't nuke IAM users
excludes:
Expand Down Expand Up @@ -229,3 +233,15 @@ presets:
value: "^/aws/eks/cpco-.*"
- type: "regex"
value: "^/aws/lambda/CIS.*"
EMRCluster:
- type: "regex"
value: "^cpco-.*"
EC2KeyPair:
- type: "regex"
value: "^cpco-.*"
IAMGroup:
- type: "regex"
value: "^cpco-.*"
IAMGroupPolicyAttachment:
- type: "regex"
value: "^cpco-.*"

0 comments on commit 3db6dac

Please sign in to comment.