Skip to content

Instantly share code, notes, and snippets.

@zhiguangwang
Last active August 28, 2022 07:05
Show Gist options
  • Save zhiguangwang/26199a859756abc448ef to your computer and use it in GitHub Desktop.
Save zhiguangwang/26199a859756abc448ef to your computer and use it in GitHub Desktop.
Deal with CodeDeploy ApplicationStop failure with AWS CLI.

Use the --ignore-application-stop-failures option with the AWS CLI tool while doing the deployment:

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment