Skip to content

Commit

Permalink
cleanup vpcs and kms keys in phxdevops (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Ellison authored Feb 24, 2023
1 parent 0c7d5ce commit 73be37d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,12 @@ jobs:
# We explicitly list the resource types we want to nuke, as we are not ready to nuke some resource types in
# the AWS account we use at Gruntwork for testing (Phx DevOps) (e.g., S3)
go run main.go aws \
--older-than 1h \
--older-than 2h \
--force \
--config ./.circleci/nuke_config.yml \
--exclude-resource-type iam \
--exclude-resource-type iam-group \
--exclude-resource-type iam-policy \
--exclude-resource-type vpc \
--exclude-resource-type kmscustomerkeys \
--exclude-resource-type ecr \
--exclude-resource-type config-recorders \
--exclude-resource-type config-rules
Expand Down
4 changes: 4 additions & 0 deletions .circleci/nuke_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,7 @@ IAMRoles:
include:
names_regex:
- "^cloud-nuke-Test*"
KMSCustomerKeys:
include:
names_regex:
- "^cloud-nuke-test-.*$"

0 comments on commit 73be37d

Please sign in to comment.