-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When building state matchines using a Cloudformation resource and an external json file, there is support to replace Resource ARNs using DefinitionSubstitions see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html
It would be great if the following file which uses this pattern could pass the validation!?:
{
"Comment": "AWS Step Functions Example",
"StartAt": "Start",
"Version": "1.0",
"States": {
"Start": {
"Type": "Task",
"Resource": "${StartArn}",
"Next": "Parallel State"
},
"Parallel State": {
"Type": "Parallel",
"Next": "End",
"Branches": [{
"StartAt": "Wait3000",
"States": {
"Wait3000": {
"Type": "Task",
"Resource": "${Wait3000Arn}",
"End": true
}
}
},
{
"StartAt": "Wait500",
"States": {
"Wait500": {
"Type": "Task",
"Resource": "${Wait500Arn}",
"End": true
}
}
}
]
},
"End": {
"Type": "Task",
"Resource": "${EndArn}",
"End": true
}
}
}
Edit: asked at: awslabs/statelint#41
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels