Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using Parallel task type, failed validation when using Fn:GettAtt for lambda arn for either of the branches #89

Open
Wibberley opened this issue Jun 16, 2022 · 0 comments

Comments

@Wibberley
Copy link

Error

[400] CreateStateMachine <= Invalid State Machine Definition: ''SCHEMA_VALIDATION_FAILED: Expected value of type [STRING] at /States//Branches[1]/States//Resource''

****: { Type: "Parallel", Next: "****", Branches: [ { StartAt: "****", States: { GetToUserData: { Type: "Task", InputPath: "$.detail.toUserId", Resource: { "Fn::GetAtt": ["****", "Arn"], }, ResultPath: "$.toUserDetails", End: true, }, }, }, { StartAt: "****", States: { ****: { Type: "Task", InputPath: "$.detail.fromUserId", Resource: { "Fn::GetAtt": ["****", "Arn"], }, ResultPath: "$.fromUserDetails", End: true, }, }, }, ],

This deploys fine to AWS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant