2 Answers
- Newest
- Most votes
- Most comments
2
It seems Lambda currently has no internet access. This is most likely because of your VPC configuration. You can check or setup a S3 VPC endpoint and try again.
answered 3 years ago
0
Root Cause: VPC have no internet connection issue, causing Lambda can't access S3.
Solution: Add VPC Gateway Endpoint in Lambda associated VPC.
answered 2 years ago
Relevant content
- asked 4 years ago
- Accepted Answerasked 4 months ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a month ago
I set up an S3 VPC endpoint and did not get any change in the error. I used com.amazonaws.s3-global.accesspoint Are there specifics with the endpoint configuration I should look at?
Figured it out - You need to selected the region specific service gateway. The Endpoint I mentioned above is an interface.
After I started a new VPC Endpoint with com.amazonaws.us-east-1.s3 and associated it to my security group, a new line in my sg appeared pl-******** Then I could properly query from Athena.
Thanks for the push in the right direction!