Last active
March 22, 2019 03:28
-
-
Save ctgardner/caad625e4e27926959ed27945ee4f34c to your computer and use it in GitHub Desktop.
Filter CloudFormation stack-events by status
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
aws cloudformation describe-stack-events --stack-name my-stack --query "StackEvents[?ResourceStatus == 'CREATE_FAILED']" | |
# Resource statuses (2019-03-19): | |
# https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-describing-stacks.html | |
# CREATE_COMPLETE | |
# CREATE_FAILED | |
# CREATE_IN_PROGRESS | |
# DELETE_COMPLETE | |
# DELETE_FAILED | |
# DELETE_IN_PROGRESS | |
# REVIEW_IN_PROGRESS | |
# ROLLBACK_COMPLETE | |
# ROLLBACK_FAILED | |
# ROLLBACK_IN_PROGRESS | |
# UPDATE_COMPLETE | |
# UPDATE_COMPLETE_CLEANUP_IN_PROGRESS | |
# UPDATE_IN_PROGRESS | |
# UPDATE_ROLLBACK_COMPLETE | |
# UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS | |
# UPDATE_ROLLBACK_FAILED | |
# UPDATE_ROLLBACK_IN_PROGRESS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment