Skip to content

Commit 6285269

Browse files
committed
Skip stack level hook for stack if prior stack level change set hook succeeded
For stack level hooks, customers are able to return a new status that allow stack level hooks that execute against a stack to skip with a successful status. The idea is that if a stack hook invoked against a change set succeeds, there is no need to invoke against the stack once the change set is processed.
1 parent aec8b99 commit 6285269

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cloudformation_cli_python_lib/interface.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@ class OperationStatus(str, _AutoName):
4646
PENDING = auto()
4747
IN_PROGRESS = auto()
4848
SUCCESS = auto()
49+
CHANGE_SET_SUCCESS_SKIP_STACK_HOOK = auto()
4950
FAILED = auto()
5051

5152

5253
class HookStatus(str, _AutoName):
5354
PENDING = auto()
5455
IN_PROGRESS = auto()
5556
SUCCESS = auto()
57+
CHANGE_SET_SUCCESS_SKIP_STACK_HOOK = auto()
5658
FAILED = auto()
5759

5860

0 commit comments

Comments
 (0)