AWS Lambda: Unable to access SQS Queue from a Lambda function with VPC access

后端 未结 5 2066
独厮守ぢ
独厮守ぢ 2021-02-07 07:25

I have a Lambda function that needs to read messages from an SQS queue using it\'s URL. Then it needs to insert that data to Cassandra running on a server inside a VPC.

5条回答
  •  灰色年华
    2021-02-07 08:08

    To clarify a point above about a "wide open" security group, the group set on the endpoint needs to allow inbound access to SQS from your lambda function.

    I created a security group for my endpoint that only opened 443 to my lambda's security group.

提交回复
热议问题