Ubuntu Install AWS Cloudformation tools cfn-signal command

mkdir aws-cfn-bootstrap-latest
curl https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz | tar xz -C aws-cfn-bootstrap-latest --strip-components 1
easy_install aws-cfn-bootstrap-latest

Usage:

/usr/local/bin/cfn-init –stack ${AWS::StackName} –resource AutoScalingGroup –region ${AWS::Region}
/usr/local/bin/cfn-signal –exit-code 0 –stack ${AWS::StackName} –resource AutoScalingGroup –region ${AWS::Region}

 

Viet Luu has written 143 articles

Leave a Reply