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