Created
March 12, 2021 13:44
-
-
Save leoxlin/7fedd675a3fa539b9e6196f8919304b5 to your computer and use it in GitHub Desktop.
This file contains 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
# eg. `AWS_PROFILE=production wait_stack create api-servers` | |
wait_stack () { | |
STEP_NAME=$1 | |
STACK_NAME=$2 | |
aws cloudformation wait stack-${STEP_NAME}-complete --stack-name ${STACK_NAME} && \ | |
osascript -e "display notification \"stack-${STEP_NAME}-complete ${STACK_NAME}\"" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment