Become a member
to unlock all features

Create egghead account to access 1,000+ tutorials and resources from expert developers.

Create account

    Execute an AWS Lambda function locally with SAM CLI


    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 🤩