Closed sudoudaisuke closed 2 months ago
1.8.1
docker container based on python:3.12-alpine
$ cfn-lint ./a.yaml E3601 Additional properties are not allowed ('CausePath' was unexpected) b.yaml:11:13 E3601 Additional properties are not allowed ('ErrorPath' was unexpected) b.yaml:12:13
Do not report error.
https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-fail-state.html
Resources: MyStateMachine: Type: AWS::StepFunctions::StateMachine Properties: RoleArn: MyStateMachineRole Definition: StartAt: FailState States: FailState: Type: Fail CausePath: $.Cause ErrorPath: $.Error MyStateMachineRole: Type: AWS::IAM::Role Properties: Path: / AssumeRolePolicyDocument: Version: 2012-10-17 Statement: - Effect: Allow Principal: Service: [ states.amazonaws.com ] Action: [ sts:AssumeRole ]
CloudFormation Lint Version
1.8.1
What operating system are you using?
docker container based on python:3.12-alpine
Describe the bug
Expected behavior
Do not report error.
https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-fail-state.html
Reproduction template