Created
August 17, 2015 15:30
-
-
Save quiver/e5496a91deda73bc9f84 to your computer and use it in GitHub Desktop.
AWS cloudformation StackStatus
This file contains hidden or 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
/* | |
* http://www.graphviz.org/ | |
* $ dot -Tpng test.dot -o test.png | |
* rollback can be disabled | |
*/ | |
digraph create_stack { | |
CreateStack_API [shape=box]; | |
DeleteStack_API[shape=box]; | |
CREATE_COMPLETE [style=filled,color=blue]; // OK | |
CREATE_FAILED [style=filled,color=red]; // NG | |
ROLLBACK_FAILED [style=filled,color=red]; // NG | |
ROLLBACK_COMPLETE [style=filled,color=red]; // NG | |
Go_To_DeleteStack_Flow [shape=plaintext]; | |
CREATE_IN_PROGRESS [style=filled,color=green]; | |
CreateStack_API -> CREATE_IN_PROGRESS; | |
CREATE_IN_PROGRESS -> CREATE_FAILED [label="--disable-rollback"]; | |
CREATE_IN_PROGRESS -> CREATE_COMPLETE; | |
CREATE_IN_PROGRESS -> DeleteStack_API -> DELETE_IN_PROGRESS -> Go_To_DeleteStack_Flow; | |
CREATE_IN_PROGRESS -> ROLLBACK_IN_PROGRESS [label="--no-disable-rollback"]; | |
ROLLBACK_IN_PROGRESS -> ROLLBACK_FAILED; | |
ROLLBACK_IN_PROGRESS -> ROLLBACK_COMPLETE; | |
} |
This file contains hidden or 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
/* | |
* http://www.graphviz.org/ | |
* $ dot -Tpng test.dot -o test.png | |
*/ | |
digraph delete_stack { | |
DeleteStack_API[shape=box]; | |
DELETE_COMPLETE [style=filled, color=blue]; // OK | |
DELETE_FAILED [style=filled, color=red]; // NG | |
DELETE_IN_PROGRESS [style=filled,color=green]; | |
DeleteStack_API -> DELETE_IN_PROGRESS; | |
DELETE_IN_PROGRESS -> DELETE_FAILED; | |
DELETE_IN_PROGRESS -> DELETE_COMPLETE; | |
} | |
This file contains hidden or 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
/* | |
* http://www.graphviz.org/ | |
* $ dot -Tpng test.dot -o test.png | |
*/ | |
digraph update_stack { | |
UpdateStack_API[shape=box]; | |
CancelUpdateStack_API[shape=box]; | |
UPDATE_COMPLETE [style=filled,color=blue]; // OK | |
UPDATE_ROLLBACK_FAILED [style=filled,color=red]; // NG | |
UPDATE_ROLLBACK_COMPLETE [style=filled,color=red]; // NG | |
UPDATE_IN_PROGRESS [style=filled,color=green]; | |
UPDATE_COMPLETE_CLEANUP_IN_PROGRESS [style=filled,color=green]; | |
UpdateStack_API -> UPDATE_IN_PROGRESS; | |
UPDATE_IN_PROGRESS -> UPDATE_COMPLETE_CLEANUP_IN_PROGRESS -> UPDATE_COMPLETE; | |
UPDATE_IN_PROGRESS -> UPDATE_ROLLBACK_IN_PROGRESS; | |
UPDATE_IN_PROGRESS -> CancelUpdateStack_API -> UPDATE_ROLLBACK_IN_PROGRESS; | |
UPDATE_ROLLBACK_IN_PROGRESS -> UPDATE_ROLLBACK_FAILED; | |
UPDATE_ROLLBACK_IN_PROGRESS -> UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS; | |
UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS -> UPDATE_ROLLBACK_COMPLETE; | |
UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS -> UPDATE_ROLLBACK_FAILED; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment