aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make_layer_zip_02.sh
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2024-08-29 12:19:21 +0100
committerAlex Schofield <git@ajschof.me>2024-08-29 12:19:21 +0100
commite3f6e9b7477ac633d272d2fcacb13e42bb7eb572 (patch)
tree94063f36a1c37519917ffe7eee9c10e4522f1ae9 /scripts/make_layer_zip_02.sh
parentcd7a8f83dc20c045f607aba9ea0e83e0ef22b19e (diff)
downloadde-project-bentley-e3f6e9b7477ac633d272d2fcacb13e42bb7eb572.tar.gz
de-project-bentley-e3f6e9b7477ac633d272d2fcacb13e42bb7eb572.zip
feat: separate layer zip generation for lambda functions
Diffstat (limited to 'scripts/make_layer_zip_02.sh')
-rwxr-xr-xscripts/make_layer_zip_02.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/make_layer_zip_02.sh b/scripts/make_layer_zip_02.sh
new file mode 100755
index 0000000..53e9099
--- /dev/null
+++ b/scripts/make_layer_zip_02.sh
@@ -0,0 +1,9 @@
+# Description: Make the zip file for the layer for the transform & load
+# lambda functions
+
+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/
git.ajschof.me — hosted by ajschofield — powered by cgit