selenium-python-aws-lambda icon indicating copy to clipboard operation
selenium-python-aws-lambda copied to clipboard

How to add additional packages like boto3

Open dg-protagolabs opened this issue 6 years ago • 3 comments

I would like to copy the downloaded file into S3. How to add boto3?

dg-protagolabs avatar Oct 12 '19 20:10 dg-protagolabs

Hi You can create the layer in aws and import the new package

On Sun, 13 Oct, 2019, 2:13 AM dg-protagolabs, [email protected] wrote:

I would like to copy the downloaded file into S3. How to add boto3?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ManivannanMurugavel/selenium-python-aws-lambda/issues/8?email_source=notifications&email_token=AE5POGVZGGRUZKB4K24DX4TQOIZGPA5CNFSM4JAEJQFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRMRJIQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5POGRANHYW7FR6YWBDWYTQOIZGPANCNFSM4JAEJQFA .

ManivannanMurugavel avatar Oct 14 '19 02:10 ManivannanMurugavel

boto3 comes built in when you use python runtimes in lambda

amiantos avatar Jul 29 '20 20:07 amiantos

You can add it as an basic import ( import boto3) but you have to remove the environment variable PYTHONPATH in the lambda configuration

damienBuyBox avatar Nov 01 '21 20:11 damienBuyBox