We're looking at using aws-nuke instead.
Go program to delete services from AWS accounts prior to decommissioning
- EC2 Instances
WARNING There are no guardrails. This program will delete all supported services with no undo or option to quit
-
An AWS account in which you have access to Get, List, Describe, Terminate, Deregister and Delete the supported services.
-
Properly configured credentials for access to the AWS account. Recommend using Configuration and Credential Files
-
If you are using configuration and credential files,
export AWS_SDK_LOAD_CONFIG=1 -
If you want to restrict the program to specific regions, provide a comma separated list in the
regionsenvironment variable. For example:export regions="us-east-1,us-west-1,us-west-2" -
Steps to build:
go get github.com/GSA/grace-tenant-cleanup
-
Steps to clean up the account:
grace-tenant-cleanup
This project is in the worldwide public domain. As stated in CONTRIBUTING:
This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.