diff --git a/main.tf b/main.tf index c5b335c..6da3746 100644 --- a/main.tf +++ b/main.tf @@ -150,7 +150,7 @@ module "domain_hostname" { enabled = "${var.enabled == "true" && length(var.dns_zone_id) > 0 ? "true" : "false"}" namespace = "${var.namespace}" stage = "${var.stage}" - name = "${var.name}" + name = "es-${var.name}" ttl = 60 zone_id = "${var.dns_zone_id}" records = ["${aws_elasticsearch_domain.default.*.endpoint}"]