Step functions tasks do not correctly resolve imports/exports #3412
Labels
@aws-cdk/aws-stepfunctions
Related to AWS StepFunctions
needs-triage
This issue or PR still needs to be triaged.
I'm submitting a ...
What is the current behavior?
The following code:
results in the following
DefinitionString
in theAWS::StepFunctions::StateMachine
resource (note the incorrectRef
on the user,User00B015A1
does not exist in this stack):Now if we change the
new sfn.StateMachine
statement to add a name using the user name (to import it on a prop where it's correctly resolved):Both
DefinitionString
andStateMachineName
in theAWS::StepFunctions::StateMachine
resource use a correctFn::ImportValue
:What is the expected behavior (or behavior of feature suggested)?
Import/export should work in step functions tasks
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: