Skip to content

Instantly share code, notes, and snippets.

View cloudboratory's full-sized avatar

cloudboratory

View GitHub Profile
@cloudboratory
cloudboratory / python-cryptography-aws-lambda-layer.sh
Created March 3, 2023 14:32
Allows creation of an aws lambda layer using lambci/lambda to install Python's cryptography package
mkdir -p python/lib/python3.8/site-packages \
echo "cryptography" > requirements.txt \
sudo docker run -v "$PWD":/var/task "lambci/lambda:build-python3.8" /bin/sh -c "pip install -r requirements.txt -t python/lib/python3.8/site-packages/; exit"