v0.10.0
Pass dns_name to terraform-aws-route53-cluster-hostname instead of name @michael-careplanner (#24)
what
- Fixes incorrect DNS records when setting custom records in R53 by passing
dns_name
rather thanname
toterraform-aws-route53-cluster-hostname
why
terraform-aws-route53-cluster-hostname
changed how to pass the DNS name in between 0.5.0 and 0.7.0+- In 0.5.0 the DNS record was created used
var.name
(https://github.com/cloudposse/terraform-aws-route53-cluster-hostname/blob/0.5.0/main.tf#L4) - which is what this module passes. - Since 0.7.0 the DNS record created uses
var.dns_name
if set, defaulting tomodule.this.id
if not (https://github.com/cloudposse/terraform-aws-route53-cluster-hostname/blob/0.7.0/main.tf#L3) - This results in the custom DNS names passed in this module not generating the correct R53 records.