Skip to content

Variable placeholder not recognised in state-machine.asl.json #8796

@jp-bbc

Description

@jp-bbc

Problem

Where a state machine file with .asl.json exists, red lines appear in VS Code, stating the state machine json is not valid with a valid variable placeholder, and a visual representation of the state machine subsequently not being rendered.

"Wait": {
   "Type": "Wait",
   "Seconds": ${someVariablePlaceholder},
   "Next": "Some step",
   "QueryLanguage": "JSONata",
   "Output": "{% $states.input %}"
},

Steps to reproduce the issue

See above

Expected behavior

System details (run AWS: About and/or Amazon Q: About)

  • OS: Mac OS X
  • Visual Studio Code version: 1.120.0
  • AWS Toolkit version: 4.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugWe can reproduce the issue and confirmed it is a bug.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions