# Rolling Update
1. [Getting Started] (#getting-started)
2. [Command-Line Arguments] (#Command-Line-arguments)
3. [Running the Command] (#Running-The-Command)

## Getting Started
#### Dependencies
* boto3 will look at your environment vars, .aws default profile or role credentials.

##### Python Dependencies
* boto3
* sys
* paramiko
* optparse
* re

## Command-Line Arguments
    -u, --user      ssh-user
    -W, --password  password for ssh-key
    -c, --command   remotely executed command
    -a, --asg       Autoscaling group name
    -s, --sleep     Time for draining, default is 120 seconds

## Running The Command
* If you do not know the autoscaling group name, it will return to stdout a list of names that contain your string in -a, --asg.

```bash
$ python rolling_update.py -u $user -W $password -c "$command" -a "$autoscaling group name" -s $seconds
```