(stepfunctions): RuntimeError: machine.grantStartExecution is not a function #26090
Labels
@aws-cdk/aws-stepfunctions
Related to AWS StepFunctions
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
I'm trying to set my statemachine as a target for eventbridge. The statemachine and Rule are fine when I build them individually (tested by synthesizing the template). The problem comes when I
.add_target()
.Expected Behavior
The template should synthesize.
Current Behavior
I am getting this error message:
RuntimeError: machine.grantStartExecution is not a function
. When I check the docs for Typescript,grantStartExecution
is indeed a function, so I'm not sure why it's saying otherwise.Reproduction Steps
Add a statemachine as a target to an eventbridge rule, synthesize it, and it should repeat the error message.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.85.0
Framework Version
No response
Node.js Version
v16.13.1
OS
Mac OS
Language
Python
Language Version
Python 3.11.2
Other information
No response
The text was updated successfully, but these errors were encountered: