cytopia / terraform-aws-route53-zone

A Terraform module that handles creation of multiple Route53 zones including attachment to new or existing delegation set
https://registry.terraform.io/modules/cytopia/route53-zone/aws/
MIT License
14 stars 18 forks source link

Release v1.1.2 #13

Closed cytopia closed 4 years ago

cytopia commented 4 years ago

Release v1.1.2

Currently the module is not adding the trailing . (dot) to NS records and will screw up existing DNS NS records for zone delegations. Currently broken behaviour shown below:

  # aws_route53_record.public_delegated_secondary_ns_records["www.example.com"] will be updated in-place
  ~ resource "aws_route53_record" "public_delegated_secondary_ns_records" {
        fqdn    = "www.example.com"
        id      = "XXXXXXXXXXXXX_www.example.com_NS"
        name    = "www.example.com"
      ~ records = [
          + "ns-xxxx.awsdns-44.org",
          - "ns-xxxx.awsdns-44.org.",
          + "ns-yyyy.awsdns-57.co.uk",
          - "ns-yyyy.awsdns-57.co.uk.",
          + "ns-zzzz.awsdns-37.com",
          - "ns-zzzz.awsdns-37.com.",
          + "ns-aaaa.awsdns-45.net",
          - "ns-aaaa.awsdns-45.net.",
        ]
        ttl     = 300
        type    = "NS"
        zone_id = "XXXXXXXXXXXXX"
    }

Changes

Fixed