Created
June 18, 2020 19:56
-
-
Save giuscri/95e89cc185323939cda46180263f1ad8 to your computer and use it in GitHub Desktop.
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
#!/bin/sh -x | |
pip3 install -t ./package requirements.txt | |
cd ./package | |
zip -r9 function.zip . | |
cd - | |
zip function.zip lambda_function.py | |
aws lambda update-function-code --function-name xxx --zip-file fileb://function.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment