yoyu777 / ml-demo

7 stars 2 forks source link

State-Machine-Role is not authorized to perform: lambda:InvokeFunction on resource Input-File-Checker #1

Closed yoyu777 closed 4 years ago

Praveenk8051 commented 4 years ago

Is it already solved?

Praveenk8051 commented 4 years ago

I'm still facing the error!

yoyu777 commented 4 years ago

Hi, this was fixed in #3. You can check if your state machine role has the permission to invoke your lambda function (https://github.com/yoyu777/ml-demo/pull/3/commits/fd05ed5e1c75d63e005cc7f4a770883616e8d0c8)

Praveenk8051 commented 4 years ago

Actually I was creating my own role to Invoke Lambda and assigning it to Step function. When I used Let Step Function create IAM role it worked fine..