Last active
March 23, 2018 07:23
-
-
Save antklim/0b2ec702e37ff8edd02ae4095fb94f30 to your computer and use it in GitHub Desktop.
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 | |
PROFILE=$1 | |
STACKNAME=$2 | |
BUCKET=$3 | |
AWS_PROFILE=$PROFILE aws cloudformation update-stack --stack-name $STACKNAME \ | |
--template-url https://s3.amazonaws.com/$BUCKET/cf.master.yml \ | |
--parameters ParameterKey=Environment,UsePreviousValue=true \ | |
--capabilities CAPABILITY_NAMED_IAM \ | |
--region ap-southeast-2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment