Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

In the infrastructure repository for the organization, you can create Terraform root modules for managing hosted zones for root domains and subdomains:

infra/
  hosted-zones/
    example.com/
    production.example.com/
    staging.example.com/

You can use aws_route53_zone to manage root domains. These hosted zones should be placed in the Network account.

Account Subdomains

In order to control updates to public DNS while still allowing workloads to publish updates to their endpoint addresses, it is recommended that you create a hosted zone for each stage of the software development life cycle, such as staging and production.

You can use the terraform-route-53-delegated-subdomain Terraform module to provision these subdomain zones. The subdomain hosted zones should be placed in Workload accounts.

You can then use aws_route53_record from the Network account to alias public addresses to the proper subdomain address.

  • No labels