How to access Redshift serverless from AWS Lambda in VPC

0

Hi!

I have a Lambda function with a VPC and subnets configured, also I have a Redshift Serverless Workgroup in the same VPC and subnets, also both uses the same security group wich allows redshift port. But when I test the lambda Also I've added a VPC endpoint to the Redshift and Redshift-data services but that didn't help.

Does anybody have an idea?

Regards.

1 Answer
0
Accepted Answer

Make sure that there is proper egress: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html and depending on the goal the Lambda role might need Redshift permissions.

AWS
SeanM
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions