Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I test AWS Lambda functions locally?

Tags:

Explain to me please what is the best way to locally test the lambda function. I used sam local and this solution https://github.com/lambci/docker-lambda for testing, but for example, where I invoke one lambda from another error occurs. In general, I can't make stubs for methods since lambda runs in a container

like image 832
Vladimir Boyko Avatar asked Apr 30 '18 11:04

Vladimir Boyko


1 Answers

There are a couple of options. Following two are some popular ones.

  • Serverless framework along with the serverless-offline plugin.
  • LocalStack
like image 113
gayashanbc Avatar answered Oct 24 '22 14:10

gayashanbc