unable to perform lambda invoke

0

i get this error in awsIotLogsV2

"details": "iot.amazonaws.com is unable to perform: lambda:InvokeFunction on resource: arn:aws:lambda:

can someone explain it for me?

asked 3 years ago1.5K views
1 Answer
1
Accepted Answer

The iot service has not been authorised to invoke your function.

Double check you have added permission for iot to invoke your lambda

AWS
EXPERT
answered 3 years ago
profile pictureAWS
EXPERT
reviewed 3 years ago
  • Thales for the reply @peter_g. The resource you pointed to refers to the cli, do you know how to do it via the console? All the amazon console guides seem to refer to previous iterations of the console which are no longer accessible!

  • In the console Configuration --> Permissions --> Resource-based-policy. You can use the "Add permissions" button to add the iot service

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions