Skip to content

Commit 532e7a9

Browse files
Add CausePath and ErrorPath key types to Fail state (#2884)
Co-authored-by: Kevin DeJong <[email protected]>
1 parent d3dbe03 commit 532e7a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cfnlint/rules/resources/stepfunctions/StateMachine.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _check_state_json(self, def_json, state_name, path):
7272
"Choice": ["Choices", "Default"],
7373
"Wait": ["Seconds", "Timestamp", "SecondsPath", "TimestampPath"],
7474
"Succeed": [],
75-
"Fail": ["Cause", "Error"],
75+
"Fail": ["Cause", "CausePath", "Error", "ErrorPath"],
7676
"Parallel": [
7777
"Branches",
7878
"ResultPath",

0 commit comments

Comments
 (0)