question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[route53] Allow addVpc for imported PrivateHostedZone

See original GitHub issue

Allow something like this so we can import a private hosted zone not generated from the stack but be able to add VPCs to it.

const hostedZoneId = 'Z43243432432'
PrivateHostedZone.fromPrivateHostedZoneId(this, `R53PrivateZone-${hostedZoneId}`, hostedZoneId).addVpc(vpc);

Use Case

We have a stack that generates our DNS topology. The DNS topology has hosted zones which I would like to subscribe to when I generate a VPC from a stack i own.

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
dggmsacommented, Jan 14, 2022

+1

0reactions
joonashcommented, Oct 31, 2022

We’re facing the same issue. We’re using Golang SDK and create the private hosted zone using service discovery (awsservicediscovery.NewPrivateDnsNamespace). That creates the private hosted zone but we’re unable to add another VPC to the hosted zone, as lookup only returns IPrivateHostedZone without the method to add the VPCs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Associating more VPCs with a private hosted zone
You can use the Amazon Route 53 console to associate more VPCs with a private hosted zone if you created the hosted zone...
Read more >
aws-cdk.aws-route53 - PyPI
To add a private hosted zone, use PrivateHostedZone . Note that enableDnsHostnames and enableDnsSupport must have been enabled for the VPC you're configuring ......
Read more >
AWS Amazon Route 53 : Private Hosted Zone - 2020
This allows us to use custom DNS names for our internal resources without exposing the names or IP addresses to the public Internet....
Read more >
aws-cdk/aws-route53/README.md - UNPKG
30, import * as route53 from '@aws-cdk/aws-route53';. 31. 32, const vpc = new ec2.Vpc(this, 'VPC');. 33. 34, const zone = new route53.PrivateHostedZone(this ...
Read more >
@aws-cdk/aws-route53 - npm
declare const vpc: ec2.Vpc; const zone = new route53.PrivateHostedZone(this, 'HostedZone', { zoneName: 'fully.qualified.domain.com', vpc, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found