Created
September 2, 2014 03:42
-
-
Save eerien/429728383cbe6a2bbda9 to your computer and use it in GitHub Desktop.
AWS (Amazon Web Services) AutoScaling: set-desired-capacity script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export AWS_ACCESS_KEY_ID= | |
export AWS_SECRET_ACCESS_KEY= | |
/usr/local/bin/aws autoscaling set-desired-capacity --region "$1" --auto-scaling-group-name "$2" --desired-capacity "$3" --no-honor-cooldown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment