Deletes resources from a Cloud provider account. Resources to be deleted are specified in a YAML file, like
- aws_ec2:
- aws_s3:
exclude:
- Name: /-terraform-/ # regular expression
- Name: /-xxx-/
options:
force: true # deletes bucket contents
- aws_kms:
Clone the repo
git clone git@github.com:siran/cloud-reset.git
Install dependencies (virtual environment recommended)
pip3 install -r requirements.txt
After cloning the repo and installing dependencies there is nothing else to do.
No tests yet.
- Boto3
Please read CONTRIBUTING.md for details.
Some similar projects:
- cloud-sweeper: https://github.com/getify/cloud-sweeper
- cloud-nuke: https://github.com/getify/cloud-sweeper
- aws-auto-cleanup: https://github.com/servian/aws-auto-cleanup
- gcloud-cleanup: https://github.com/travis-ci/gcloud-cleanup
This project is licensed under the MIT License - see the LICENSE.md file for details
- Thanks to Shashi
- Thanks to Annalect for giving me the need to develop this tool