Skip to content

Invalid yaml is being generated for step functions #1450

@chizou

Description

@chizou

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions