AWS IoT unable to invoke lambda function

0

Hi all,

I am new to AWS, and was trying to setup an IoT system where a lambda function is triggered whenever messages are received. Whenever I receive the message, however, the lambda function is not invoked (although I know the message has been received and parsed correctly). Looking at the logs, I see the message iot.amazonaws.com is unable to perform: lambda:InvokeFunction on resource: arn:aws:lambda:eu-west-3:216554370311:function:[...]. I have added permissions to AWS IoT as referenced here, and I am currently at a loss on what could be the cause of such behavior.

Has any of you faced this error?

Thanks

1 Antwort
0
Akzeptierte Antwort

Turns out that if I launch the cli command reported here it works, I tried setting up everything through console and for whatever reason it didn't work as expected.

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen