- 新しい順
- 投票が多い順
- コメントが多い順
Hello.
Will your Lambda connect to resources (RDS or EC2) within your VPC?
In that case, you need to create a NAT Gateway or Amazon SNS VPC endpoint in the VPC linked to Lambda and configure it to communicate with the Amazon SNS service.
When creating a NAT gateway, add a route for the NAT gateway to the route table of the subnet associated with Lambda.
https://repost.aws/knowledge-center/internet-access-lambda-function
https://docs.aws.amazon.com/sns/latest/dg/sns-vpc-create-endpoint.html
I did not know that this was a requirement. My Lambda can publish to the SNS topic if it is the only service used. Is there a reason why that works without the end point?
Thanks @Riku for your direction. I added the SNS VPC Endpoint and my SNS publish action is working again.
関連するコンテンツ
- AWS公式更新しました 2年前
- AWS公式更新しました 2年前
- AWS公式更新しました 2年前
- AWS公式更新しました 10ヶ月前