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
StateMachine#grantTaskResponse seems to be broken, but this comes down to the fact that the states:SendTask* actions are not supposed to be scoped to a specific resource and instead should specify *.
When you use the visual policy editor, you see a message "Selected actions only support the all resources wildcard(*)" when these actions are selected.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
StateMachine#grantTaskResponse
seems to be broken, but this comes down to the fact that thestates:SendTask*
actions are not supposed to be scoped to a specific resource and instead should specify*
.The issue is here: https://github.com/aws/aws-cdk/blob/v2.83.0/packages/aws-cdk-lib/aws-stepfunctions/lib/state-machine.ts#L245
When you use the visual policy editor, you see a message "Selected actions only support the all resources wildcard(*)" when these actions are selected.
To this end, when I replace this:
with this:
the exception messages from my activity workers about lacking permissions for SendTaskHeartBeat go away and everything is happy again.
Beta Was this translation helpful? Give feedback.
All reactions