News for hackers. Stuff that matters.
Re:Show HN: Programmatically build and publish AWS Lambda la... by jacksgt on Saturday May 02, 2020 @09:12AM (#23051577)
Recently at work, I wanted to standardize our workflow for building the layers used by our AWS Lambda functions.

First, I tried to hack together a shell script. While this solution offers the most flexibility, I quickly had to realize it does not scale well since you have to repeat a lot of code.

Instead, I wrote this simple tool in Python. It allows you to define the build steps for the layer in a YAML configuration files, along with features such as pattern exclusion.

More details about this tool available in the repo as well as in this blog post: https://blog.cubieserver.de/2020/lambda-layer-tool/

For now, the tool is quite simplistic, but if you have any ideas or feature requests, just let me know.

There are no comments on this comment yet.