How to setup PyCharm to develop AWS Lambda function on local machine?

As of the announcement at the re:Invent 2018 keynote, Jetbrains now offers the AWS Toolkit which allows local and remote development of Lambda functions.

Despite some lingering issues it works quite well.

User exan has provided the link on AWS' site here

There is also a blog post when using PyCharm on MacOS

Toolkit page on Jetbrains website

UPDATE April 2019: Jetbrains has been very responsive and active in fixing any issues. Issues with credentials and templates seem resolved and it's quite a joy to work with.


Directly go through the page-> https://medium.com/@bezdelev/how-to-test-a-python-aws-lambda-function-locally-with-pycharm-run-configurations-6de8efc4b206

pip install python-lambda-local
python-lambda-local -f lambda_handler lambda_function.py event.json