By using AWS re:Post, you agree to the Terms of Use
/AWS IoT unable to invoke lambda function/

AWS IoT unable to invoke lambda function


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 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?


1 Answers
Accepted Answer

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.

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions