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개 답변
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/).

전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인