Skip to content

Instantly share code, notes, and snippets.

@antklim
Last active March 23, 2018 07:23
Show Gist options
  • Save antklim/0b2ec702e37ff8edd02ae4095fb94f30 to your computer and use it in GitHub Desktop.
Save antklim/0b2ec702e37ff8edd02ae4095fb94f30 to your computer and use it in GitHub Desktop.
#!/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