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?

posta 2 anni fa1283 visualizzazioni
1 Risposta
1
Risposta accettata

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

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

AWS
ESPERTO
Peter_G
con risposta 2 anni fa
profile pictureAWS
ESPERTO
verificato 2 anni fa
  • 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

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande