Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

feat: Make root HostedZone accessible #89

Closed
ntippie opened this issue Feb 22, 2022 · 2 comments
Closed

feat: Make root HostedZone accessible #89

ntippie opened this issue Feb 22, 2022 · 2 comments

Comments

@ntippie
Copy link

ntippie commented Feb 22, 2022

Problem Statement

I am making a CDK app to manage an organization's infrastructure. The organization's domain name is used for multiple purposes, including the SDLC, the organization's email service, and domain ownership verification for external services. I am looking to add MX and other records to the root HostedZone. Unfortunately it is created by AwsOrganizationStack but is not accessible for other stacks.

I would like to be able to either/both:

  • Provide a HostedZone via AwsOrganizationStackProps
  • Access the HostedZone created by AwsOrganizationStack (created via RootDns)

As a workaround, I attempted to prevent AwsOrganization from creating a RootDns and intended to define my own RootDns, but RootDnsProps requires stagesAccounts which is also not accessible from AwsOrganization.

@flochaz
Copy link
Contributor

flochaz commented Feb 22, 2022 via email

@ntippie
Copy link
Author

ntippie commented Mar 29, 2022

Included in 0.7.0. Thank you!

@ntippie ntippie closed this as completed Mar 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants