- Run
pip install python-lambda-local
to install the packagte for running lambdas locally - Copy Paste above two files
- To start the lambdas run
python-lambda-local -f lambda_handler lambda_function.py event.json
Reference: Ilya Bezdelev's Mdeium Article on Testing Python Lambdas Locally