Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bug: step functions - new intrinsic functions fail to deploy via cloudformation. #6811

Closed
@thantos

Description

@thantos

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

On deployment of a cloud formation template that uses the new intrinsics (ex: States.ArrayRange).

'SCHEMA_VALIDATION_FAILED: The value for the field 'out.$' must be a valid JSONPath or a valid intrinsic function call at /States/array__objAccess = input.range[input.key]/Parameters'

Expected Behavior

Should deploy. Same template succeeds on AWS.

How are you starting LocalStack?

With the localstack script

Steps To Reproduce

Create a CFN template with a SFN that uses the new intrinsics:

{
    "StartAt": "test",
    "States": {
        "test": {
            "Type": "Pass",
            "Parameters": { 
                 "range.$": "States.ArrayRange(1, 2, 1)"
            },
            "End": true
        },
    }
}

Deploy

Environment

- OS:ubuntu/WSL2
- LocalStack:latest

Anything else?

The docker image was updated 2 days ago, which aligns with the release of the new functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions