Last active
November 15, 2016 17:35
-
-
Save 0xAhmed/00160ca6bb56328355222afa07088274 to your computer and use it in GitHub Desktop.
AWS CloudFormation Stack: Execute Change Set
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
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