Skip to content

Instantly share code, notes, and snippets.

@katariaashish
katariaashish / README.md
Last active September 11, 2023 05:14 — forked from codifyer/README.md
Create and publish python lambda layer using bash

Summary

This is a bash script I wrote to quickly create a python 3.10 layer on AWS.

The first part creates a zip file.

The trick to create a correct zip file for python lambda layers is to ensure the unzipped file has a directory structure like

python/lib/python3.10/site-packages/