Search code examples
amazon-web-servicesaws-lambdaamazon-iamserverless

AWS Step Functions permission for Lambda


How to give permission for lambda to invoke a stepfunction state machine in serverless YAML?

Error image


Solution

  • You will need to add the states:StartExecution method as allowed in the lambda execution role. You will also need to make sure that the step function that you want to start is part of the resources you're allowed to start.