I will need this one day as keeping resources up for sandbox or test accounts can cost a lot when things do not happen according to plan:
- [Wayback/Archive] GitHub – gruntwork-io/cloud-nuke: A tool for cleaning up your cloud accounts by nuking (deleting) all resources within it
- [Wayback/Archive] rebuy-de/aws-nuke: Nuke a whole AWS account and delete all its resources.
Both have been written in golang.
Warning: these can be abused, wreak havoc when accidentally used in production, or not even delete all (it’s software; there might be bugs).
Via: