Search code examples
pythonaws-lambda

AWS Lambda keeps returning the default response on a new function


I'm new to AWS lambda. Following a youtube tutorial, I created a test lambda function to simply return "True", but it keeps returning the default response: Response: { "statusCode": 200, "body": ""Hello from Lambda!"" }


Solution

  • Previously there used to be save in lambda. But now it actually changed to deploy. You need to basically deploy your code inorder to test it.

    Please refer this : https://docs.aws.amazon.com/codedeploy/latest/userguide/tutorial-lambda-sam.html