🚀 Enhancements
Fix: fix incorrect attribute being supplied to `route53-cluster-hostname` module @korenyoni (#39)
what
- Fix incorrect variable being supplied to
route53-cluster-hostname
module.
why
name
is passed instead ofdns_name
toroute53-cluster-hostname
. Theroute53-cluster-hostname
module hasvar.name
due tocontext.tf
, however it does not referencevar.name
in any place.
resource "aws_route53_record" "default" {
count = module.this.enabled ? 1 : 0
name = var.dns_name == "" ? module.this.id : var.dns_name # dns_name is consolidated, not name, when setting the route53 record name
zone_id = var.zone_id
type = var.type
ttl = var.ttl
records = var.records
}
references
- N/A