Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tongueroo/aws-clean
AWS Clean Tool: Cleans Resources
https://github.com/tongueroo/aws-clean
Last synced: about 1 month ago
JSON representation
AWS Clean Tool: Cleans Resources
- Host: GitHub
- URL: https://github.com/tongueroo/aws-clean
- Owner: tongueroo
- License: mit
- Created: 2018-01-03T02:28:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-05T00:33:20.000Z (almost 7 years ago)
- Last Synced: 2024-11-18T00:13:49.689Z (about 2 months ago)
- Language: Ruby
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this 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
```sh
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:
```sh
gem "aws-clean"
```And then run:
```sh
bundle
```Or install it with the gem command:
```sh
gem install aws-clean
```## Development
To develop on the bleeding edge:
```sh
git clone https://github.com/tongueroo/aws-clean
git submodule init
git submodule update
```This tool uses the [aws-inventory](https://github.com/tongueroo/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