This week I was working on an AWS Lambda function that needed to read and write from a legacy Microsoft SQL database. It’s written using the AWS Chalice framework and in local testing everything looked great. Not so much when we needed to deploy it to AWS for testing.
Why? Most of the time that you include a python package for use in a lambda function, Chalice is able to package that into the deployment, and you’re good to go.