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

Invalid yaml is being generated for step functions #1450

Open
chizou opened this issue Jul 2, 2019 · 1 comment
Open

Invalid yaml is being generated for step functions #1450

chizou opened this issue Jul 2, 2019 · 1 comment

Comments

@chizou
Copy link

chizou commented Jul 2, 2019

When using StepFunctions, to_yaml might mangle the JSON state machine which will cause the following error in CloudFormation:

Invalid State Machine Definition: 'SCHEMA_VALIDATION_FAILED: These fields are required: [States, StartAt] at /, SCHEMA_VALIDATION_FAILED: Field 'Fn::Sub' is not supported at /' (Service: AWSStepFunctions; Status Code: 400; Error Code: InvalidDefinition; Request ID: be316435-9d16-11e9-b259-cfd447cf8c59)

This is related to the following issue: awslabs/aws-cfn-template-flip#80

#799 and might be related to this

@chizou
Copy link
Author

chizou commented Jul 2, 2019

This issue is fixed with this PR: #1449

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