Skip to content

Instantly share code, notes, and snippets.

@get-data-
Created June 23, 2019 19:55
Show Gist options
  • Save get-data-/4552c5e52542cd47d1cb04e09c82653d to your computer and use it in GitHub Desktop.
Save get-data-/4552c5e52542cd47d1cb04e09c82653d to your computer and use it in GitHub Desktop.
Bad ApplicationStop script blocking deployment
# Source: https://forums.aws.amazon.com/thread.jspa?threadID=166904
# S3 artifact
aws deploy create-deployment --application-name APPLICATION --deployment-group-name GROUP --ignore-application-stop-failures --s3-location bundleType=tar,bucket=BUCKET,key=KEY --description "Ignore ApplicationStop failures due to broken script"
# Github
aws deploy create-deployment --application-name APPLICATION --deployment-group-name GROUP --ignore-application-stop-failures --github-location commitId=`git rev-parse HEAD`,repository=ACCOUNT/PROJECT --description "Ignore ApplicationStop failures due to broken script"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment