-
-
Save HugoBarreto/9879529a6761b758d165ea40b65ba6ff to your computer and use it in GitHub Desktop.
Create Any Python Package Lambda Layer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -r python | |
mkdir python | |
sudo pip3.6 install pandas -t python/ # insert any pip available module, repeat if necessary | |
zip -r lambda_layer.zip ./python | |
aws s3 cp lambda_layer.zip s3://... | |
rm -r python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment