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/).

エキスパート
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ