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 個回答
0
已接受的答案

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.

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南