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:::*
2

1 Answer 1

0

After adding S3 VPC endpoint this issue is resolved.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.