2010-07-08 17:35:10 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-06-06 14:26:05 +00:00
|
|
|
class AutoScaling < AmazonWebServicesFormula
|
2011-11-15 15:14:09 +00:00
|
|
|
homepage 'http://aws.amazon.com/developertools/2535'
|
2012-06-13 05:04:19 +00:00
|
|
|
url 'http://ec2-downloads.s3.amazonaws.com/AutoScaling-2011-01-01.zip'
|
2014-08-05 00:15:31 +00:00
|
|
|
version '1.0.61.6'
|
2014-09-24 14:30:21 +00:00
|
|
|
sha1 '2e3aaaa2567f4dcafcedbfc05678270ab02ed341'
|
2010-07-08 17:35:10 +00:00
|
|
|
|
|
|
|
def caveats
|
2014-09-10 21:39:59 +00:00
|
|
|
<<-EOS.undent
|
|
|
|
Before you can use these tools you must populate a file and export some variables to your $SHELL.
|
|
|
|
|
|
|
|
You must create a credential file containing:
|
|
|
|
|
|
|
|
AWSAccessKeyId=<Your AWS Access ID>
|
|
|
|
AWSSecetKey=<Your AWS Secret Key>
|
|
|
|
|
|
|
|
Then to export the needed variables, add them to your dotfiles.
|
|
|
|
* On Bash, add them to `~/.bash_profile`.
|
|
|
|
* On Zsh, add them to `~/.zprofile` instead.
|
|
|
|
|
|
|
|
export JAVA_HOME="$(/usr/libexec/java_home)"
|
|
|
|
export AWS_AUTO_SCALING_HOME="#{libexec}"
|
|
|
|
export AWS_CREDENTIAL_FILE="<Path to credential file>"
|
|
|
|
|
|
|
|
See the website for more details:
|
|
|
|
http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/UsingTheCommandLineTools.html
|
|
|
|
EOS
|
2010-07-08 17:35:10 +00:00
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|