Skip to content

Instantly share code, notes, and snippets.

@0xAhmed
Last active November 15, 2016 17:35
Show Gist options
  • Save 0xAhmed/00160ca6bb56328355222afa07088274 to your computer and use it in GitHub Desktop.
Save 0xAhmed/00160ca6bb56328355222afa07088274 to your computer and use it in GitHub Desktop.
AWS CloudFormation Stack: Execute Change Set
for i in $(seq 1 20); do
aws cloudformation list-change-sets --stack-name app | grep CREATE_COMPLETE && if [ $? == 0 ]; then break; else continue; fi
done;
aws cloudformation execute-change-set \
--stack-name app \
--change-set-name app-$DOCKBIT_DEPLOYMENT_SHA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment