Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)
Normally, I would just import packages directly on the Lambda code editor. But what should I do or how can I add the python libraries which I use locally? Help pls...

1 Answer

0 votes
by (44.4k points)
edited by

This solution is provided by AWS themselves. Please follow these steps to add python or any libraries you want to add.

Upload deployment package to your Lambda function

  1. Open the AWS Lambda console.

  2. Choose Functions on the navigation pane, and then open your function.

  3. In the Function code section, expand the Code entry type drop-down list, and then choose to Upload a ZIP file.

  4. Choose Upload, and then select your .zip file.

  5. Choose Save.

  6. Choose Test.

For more context on the same, check this out - https://aws.amazon.com/premiumsupport/knowledge-center/build-python-lambda-deployment-package/

Want to become an AWS expert? Check out out Course on AWS Solutions Architect Certification

Related questions

0 votes
1 answer

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
asked Mar 3, 2021 in AWS by devin (5.6k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...