Execute an AWS Lambda function locally with SAM CLI

InstructorTomasz Łakomy

Share this video with your friends

Send Tweet

AWS Lambda function are designed to run in the cloud, which is (by definition) - not your computer.

This fact is both a blessing and a curse - sometimes you want to be able to execute (and debug!) a lambda function locally, without having to redeploy it to cloud every time you'd like to test something.

In this lesson we're going to learn how to execute an AWS Lambda function on our machine using SAM CLI sam local invoke command 🤩