From e3f6e9b7477ac633d272d2fcacb13e42bb7eb572 Mon Sep 17 00:00:00 2001 From: Alex Schofield Date: Thu, 29 Aug 2024 12:19:21 +0100 Subject: feat: separate layer zip generation for lambda functions --- scripts/make_layer_zip_01.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/make_layer_zip_01.sh (limited to 'scripts/make_layer_zip_01.sh') diff --git a/scripts/make_layer_zip_01.sh b/scripts/make_layer_zip_01.sh new file mode 100755 index 0000000..145ea82 --- /dev/null +++ b/scripts/make_layer_zip_01.sh @@ -0,0 +1,8 @@ +# Description: Make the zip file for the layer for the extract lambda function + +cd "$(dirname "$0")/.." +mkdir -p python/lib/python3.11/site-packages +pip3 install --upgrade -r requirements.txt -t python/lib/python3.11/site-packages +rm layer.zip +zip -r layer.zip python +rm -r python/ -- cgit v1.2.3