Skip to content

invalid token when running a workflow. #117

@PLPRASU

Description

@PLPRASU

version: 1.0
description: A basic sequential workflow.
input:

  • InstanceIds

tasks:
ec2start:
action: aws.ec2_start_instances
input:
InstanceIds: <%ctx(InstanceIds)%>
this is workflow when i run this workflow using this command is
st2 run aws1.ec2start InstanceIds=i-039add3212345
i got the result is below
id: 6278fcb6262fd40915e26e4d
action.ref: aws1.ec2start
parameters:
InstanceIds: i-039add3212345
status: failed
start_timestamp: Mon, 09 May 2022 11:36:22 UTC
end_timestamp: Mon, 09 May 2022 11:36:23 UTC
result:
errors:

  • message: 'SyntaxError: invalid token (, line 1)'
    route: 0
    task_id: ec2start
    type: error
    output: null
    this workflow is failed please give solution for 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