Last active
December 11, 2020 05:50
-
-
Save sri-teja/2d9de9f629f9001e36558064ebf1820f to your computer and use it in GitHub Desktop.
AWS Lambda install new packages
This file contains 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
pip3 install --target ./package <package name> | |
cd pacakge | |
zip -g my-deployment-package.zip ./* | |
zip -g my-deployment-package.zip <../any other config files other than pacakges> | |
## update to lambda | |
aws lambda update-function-code --function-name <YOUR FUNCTION NAME> --zip-file fileb://my-deployment-package.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment