Sha256: 9ee3ad9a9763eec4a930f2f987a35b5c68143d52d5d28ad2ea0a205531d67fe9

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

# LaunchConfigurationCleaner

You can remove many LaunchConfigurations (AWS autoscaling setting) easier.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'launch_configuration_cleaner'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install launch_configuration_cleaner

Set these enviroment variable

```
export AWS_ACCESS_KEY_ID=your-access-key-id
export AWS_SECRET_ACCESS_KEY=your-secret-access-key
export AWS_REGION=your-region
```

## Usage

1. Execute `clean_lc` in your terminal.

```
$ clean_lc
```

2. Then, this app shows your LaunchConfigurations.

```
[
  YourLaunchConfiguration1,
  YourLaunchConfiguration2,
  YourLaunchConfiguration3,
  YourLaunchConfiguration4,
  YourLaunchConfiguration5,
]
```

3. Enter "y", if you want to remove a LaunchConfiguration

```
Do you want to delete YourLaunchConfiguration1? (y/n)
```

4. After judging each configurations, you need to enter a final answer.

```
These launch configurations will be deleted.
[
  YourLaunchConfiguration1,
  YourLaunchConfiguration3,
  YourLaunchConfiguration5,
]
Are you sure? (yes or no)
```

If you enter "yes", LaunchConfigurations will be deleted.

## Contributing

1. Fork it ( https://github.com/[my-github-username]/launch_configuration_cleaner/fork )
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 a new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
launch_configuration_cleaner-0.1.1 README.md