Skip to content

Commit

Permalink
support actual ROLLBACK_COMPLETE status
Browse files Browse the repository at this point in the history
  • Loading branch information
BEvgeniyS committed Apr 26, 2021
1 parent 02a0357 commit 6961a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfn_tail.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_sorted_cfn_stack_events(stack, latest_event=None, initial_events=10, con

if not continuous:
# Stack update failed
if stack.stack_status.endswith('_ROLLBACK_COMPLETE'):
if stack.stack_status.endswith('ROLLBACK_COMPLETE'):
sys.exit(1)
# Stack create/update succeeded
elif stack.stack_status.endswith('_COMPLETE'):
Expand Down

0 comments on commit 6961a6f

Please sign in to comment.