How to access Redshift serverless from AWS Lambda in VPC



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?


1 Answer
Accepted Answer

Make sure that there is proper egress: and depending on the goal the Lambda role might need Redshift permissions.

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