DEV Community

Cover image for LAPD - Lambda Python Deployment for special "get out of jail" cases
Gernot Glawe for AWS Community Builders

Posted on

LAPD - Lambda Python Deployment for special "get out of jail" cases

Sometimes you develop with a framework that is restrictive, or an environment which is event more restricted.

Get out of jail with zipping your own Lambda package.

Without packaging requirements.txt each time, but just adding it to the zip you wayyy faster. So fast High Speed Police will come.

Did you know you can also download the code from the lambda function itself? Then you got also the correct dependencies. Because sometimes if C libraries involved, it has to be linux. And not everybodys Laptop is Linux, is it? :)

https://github.com/megaproaktiv/lapd

So enjoy this little helper, you might not need it. But in a special project it saved me a lot of time.

Because its GO, you can just copy your binary from https://github.com/megaproaktiv/lapd/releases/tag/v0.1.2

Top comments (0)