<#18841 Building AWS Lambda layers for Python> New...
# github-notifications
c
#18841 Building AWS Lambda layers for Python New discussion created by miikka Pants has good-looking support for building Python bundles for AWS Lambda. However, I'm wondering if there's an easy way to also build lambda layers. They're used for sharing code between lambdas and they're basically zip files of code with specific structure. Building them is similar but not quite the same as building lambda bundles. The use case I have in mind is that we have a bunch of lambdas that use the same set of dependencies, which we have bundled into a layer. This makes the bundle sizes smaller and deployments faster. Currently we're building the layer with AWS CDK's PythonLayerVersion construct, which we also use to deploy them, but it slows down our CDK runs. pantsbuild/pants