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?

demandé il y a 2 ans1283 vues
1 réponse
1
Réponse acceptée

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
Peter_G
répondu il y a 2 ans
profile pictureAWS
EXPERT
vérifié il y a 2 ans
  • 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

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions