Skip to content

Instantly share code, notes, and snippets.

@sri-teja
Last active December 11, 2020 05:50
Show Gist options
  • Save sri-teja/2d9de9f629f9001e36558064ebf1820f to your computer and use it in GitHub Desktop.
Save sri-teja/2d9de9f629f9001e36558064ebf1820f to your computer and use it in GitHub Desktop.
AWS Lambda install new packages
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