Package and Deploy AWS lambda functions in Python
AWS Lambda functions which have dependencies (other than the AWS Python) must be packaged SDK must be packaged into a zip file for deployment. This project aims to streamline that workflow.
AWS Lambdafy is a command line tool built using Click which packages the lambda function with dependencies into a zip file and pushes it to AWS to update the function.
Install AWS Lambdafy and verify by checking the version. See help for more options
$ pip install lambdafy
$ lambdafy version
$ lambdafy --help
From the root of the project run
$ lambdafy build --path my_function.py
$ lambdafy deploy