awslabs / aws-bootstrap-kit

Apache License 2.0
104 stars 23 forks source link

feat: Make root HostedZone accessible #89

Closed ntippie closed 2 years ago

ntippie commented 2 years ago

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:

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 commented 2 years ago

Good point. will give both options.

On Tue, Feb 22, 2022, 19:45 Nate Tippie @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/awslabs/aws-bootstrap-kit/issues/89, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJLIUKQK4T3BH7OIU6CNN3U4PKWBANCNFSM5PCG7BKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

ntippie commented 2 years ago

Included in 0.7.0. Thank you!