Project

aws-clean

0.0
No commit activity in last 3 years
No release in over 3 years
AWS clean tool
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Aws Clean Tool

This tool cleans up AWS resources. It does aggresively confirms with "are you sure?" prompts before deleting each resource.

If you want want to bypass the all the prompts you can use the --sure flag. Be careful using the --sure flag!

This tool is useful to double check your work, it should not be relied on blindly to delete resources!

Usage

aws-clean keypair # cleans up unused keypairs. works well
aws-clean sg # cleans up unused security groups. Too simple to work well. Sometimes security groups reference security groups.

Install

Add to Gemfile:

gem "aws-clean"

And then run:

bundle

Or install it with the gem command:

gem install aws-clean

Development

To develop on the bleeding edge:

git clone https://github.com/tongueroo/aws-clean
git submodule init
git submodule update

This tool uses the aws-inventory which is vendorized under vendor/aws-inventory.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am "Add some feature")
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request