0

I have problem with AWS lambda, when I trying to get list of objects from S3 bucket. I amd doing it via boto3 paginator:

enter image description here

but I cannot to receive the data from paginator as results. Tricky is that I can do it on local machine, but when I try to do this via deployed aws lambda - it is just gone to the time out.

ppostnov
  • 139
  • 9

1 Answers1

0

I was the same problem and what worked for me is to give to Lambda policy that have the access to S3 you can see the following guide on how to do it:

https://www.anblicks.com/blog/10-step-guide-to-configure-s3-bucket-with-a-lambda-function-using-sqs

And also to increase the time out of Lambda from 3 seconds to more

Eliya
  • 119
  • 8