Skip to content

Commit 73822f5

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 f3d9632 commit 73822f5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/java/software/amazon/cloudformation/proxy/OperationStatus.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ public enum OperationStatus {
1818
PENDING,
1919
IN_PROGRESS,
2020
SUCCESS,
21+
CHANGE_SET_SUCCESS_SKIP_STACK_HOOK,
2122
FAILED
2223
}

src/main/java/software/amazon/cloudformation/proxy/hook/HookStatus.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ public enum HookStatus {
1818
PENDING,
1919
IN_PROGRESS,
2020
SUCCESS,
21+
CHANGE_SET_SUCCESS_SKIP_STACK_HOOK,
2122
FAILED
2223
}

0 commit comments

Comments
 (0)