0

I have a serverless lambda function that cannot access s3 bucket. I get Connect timeout on endpoint URL: error.

This Lambda is associated with a VPC and I have already given s3 permission.

  iamRoleStatements:
    - Effect: Allow
      Action:
        # todo: too broad, just for illustration
        - s3:*
      Resource:
        # todo: too broad, just for illustration
        - arn:aws:s3:::*
Exploring
  • 2,493
  • 11
  • 56
  • 97

1 Answers1

0

After adding S3 VPC endpoint this issue is resolved.

Exploring
  • 2,493
  • 11
  • 56
  • 97