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?

preguntada hace 2 años1283 visualizaciones
1 Respuesta
1
Respuesta aceptada

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

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

AWS
EXPERTO
Peter_G
respondido hace 2 años
profile pictureAWS
EXPERTO
revisado hace 2 años
  • 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

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas