/terraform-aws-route53

Terraform module for creating Route53 zones

Primary LanguageHCL

Terraform module: terraform-aws-route53

This Terraform module creates hosted zones for subdomains.

Usage

module "terraform-aws-route53" {
  source             = "erlonpinheiro/terraform-aws-route53/aws"
  public_hosted_zone = "subdomain.domain.com"
  comment            = "DNS records zone for subdomain zone"
  tags = {
    environment    = "production"
    terraform_tag  = "some_identifier"
  }
}

Inputs

Name Description Type Default Required
public_hosted_zones List of subdomains for which to create public hosted zones. string "" yes
tags The resource tags that will be added to all hosted zone resources. map <map> no
comment The hosted zone comment that will be added to all hosted zone resources. string "Managed by Terraform" no

Outputs

Name Description
name_server_for_delegation1 The first nameserver to be configured as subdomain NS record at the domain name.
name_server_for_delegation2 The second nameserver to be configured as subdomain NS record at the domain name.
name_server_for_delegation3 The third nameserver to be configured as subdomain NS record at the domain name.
name_server_for_delegation4 The fourth nameserver to be configured as subdomain NS record at the domain name.
zone_id Zone ID from the created domain.

Authors

Module managed by Erlon Pinheiro.