nathanagez / aws-cdk-state-machine-asl

Convert your CDK state machine to an ASL file
26 stars 2 forks source link

State machine references do not get rendered #3

Open mrletourneau opened 2 years ago

mrletourneau commented 2 years ago

I tried using this on a CDK-generated CFN template that contained a state machine definition that starts a new state machine execution, but the expected state machine ARN isn't rendered, and instead [object Object] is. Ideally (for me, anyway) the state machine ARN should be outputted.

Snippet:

$ cat asl-0.json

...

"Type": "Task",
"InputPath": "$",
"ResultPath": null,
"Resource": "arn:aws:states:::states:startExecution.sync:2",
"Parameters": {
    "Input.$": "$",
    "StateMachineArn": "[object Object]"
}

...
nathanagez commented 2 years ago

Hello @mrletourneau, can you provide me your Cloudformation json file, so I can reproduce your issue, thanks!

nathanagez commented 2 years ago

@mrletourneau any updates ?