You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AWS added support for individual steps to assume an IAM role earlier this year. The syntax for this is in the example above. this functionality enables, for example, cross-account DynamoDB queries etc.
Recreating the issue
AWS added support for individual steps to assume an IAM role earlier this year. The syntax for this is in the example above. this functionality enables, for example, cross-account DynamoDB queries etc.
Expected behaviour
The step function should be created
Actual behaviour
An exception is raised. The key line is:
moto.stepfunctions.parser.asl.parse.asl_parser.ASLParserException: ASLParserException ['line 10:6, at "Credentials", mismatched input \'"Credentials"\' expecting {\'"Comment"\', \'"Type"\', \'"Choices"\', \'"Default"\', \'"Branches"\', \'"SecondsPath"\', \'"Seconds"\', \'"TimestampPath"\', \'"Timestamp"\', \'"TimeoutSeconds"\', \'"TimeoutSecondsPath"\', \'"HeartbeatSeconds"\', \'"HeartbeatSecondsPath"\', \'"ItemProcessor"\', \'"Iterator"\', \'"ItemSelector"\', \'"MaxConcurrency"\', \'"Resource"\', \'"InputPath"\', \'"OutputPath"\', \'"ItemsPath"\', \'"ResultPath"\', \'"Result"\', \'"Parameters"\', \'"ResultSelector"\', \'"ItemReader"\', \'"Next"\', \'"End"\', \'"Cause"\', \'"CausePath"\', \'"Error"\', \'"ErrorPath"\', \'"Retry"\', \'"Catch"\'}', "line 15:0, at }, extraneous input '}' expecting <EOF>"]
Full stack trace below
Moto Version
5.0.10
Stack trace
The text was updated successfully, but these errors were encountered: