Enable private DNS resolution on peered VPCs using CloudFormation

0

How can I enable private DNS resolution on a VPC peering connection, using CloudFormation?

已提問 1 年前檢視次數 447 次
1 個回答
1
已接受的答案

Hi, I see in the CloudFormation Public Roadmap, this issue https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/169 is still outstanding. A CDK custom workaround is mentioned there, but it would be possible in CloudFormation using a Resource Type or Custom Resource, calling this API - https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyVpcPeeringConnectionOptions.html.

I find that for situations where a Custom Resource is well-suited it's really quick to implement via a Python lambda using crhelper (https://github.com/aws-cloudformation/custom-resource-helper) described at https://aws.amazon.com/blogs/infrastructure-and-automation/aws-cloudformation-custom-resource-creation-with-python-aws-lambda-and-crhelper/).

專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南