Last active
May 20, 2020 23:35
-
-
Save jewelsjacobs/8764cccb393b8574a125c6b2e118ec41 to your computer and use it in GitHub Desktop.
Create python 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
LIB_DIR=aioboto3-layer/python | |
mkdir -p $LIB_DIR | |
pip install aioboto3 -t $LIB_DIR | |
cd aioboto3-layer | |
zip -r ~/Desktop/aioboto3-layer.zip . | |
# Upload or | |
aws lambda publish-layer-version --layer-name aioboto3-layer --zip-file fileb:///$HOME/Desktop/aioboto3-layer.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment