You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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().
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:
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
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: