Lambda executing the default syntax rather than executing my code !

0

https://pasteboard.co/K1Dopbz.png

My old functions are working fine but if I create a new function and test it, it’s not considering my code and is just showing me output of the default syntax which is present when we create a new lambda.

I’ve been trying since yesterday, please let me know how should I resolve this. My code is correct as it's working on another account but execution result are incorrect there as well.

I’m using boto3 script under python_3.8 inside lambda function in ap-south-1 region.

Edited by: AshutoshV on May 12, 2021 7:04 PM

asked 3 years ago183 views
2 Answers
0

We need to click on Deploy first before testing our Lambda function.

answered 3 years ago
0

Could you please double check this answer? Doesn´t that void the job of testing? Actually, the problem I am having is that no matter what the body of my function does, since I am using the Hello world template for building my Test, I always get the result of a Hello World, like Hello AWS or something like that :(
Can you please clarify how to test a lambda function in AWS? What test template are you supposed to use for Lambdas?

GeeAWS
answered 2 years 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