Skip to content

Commit 402b563

Browse files
authored
Fix #14 invalid kibana_hostname (#47)
Fix #14 by setting the kibana_hostname equal to the ES endpoint rather then then aws_elasticsearch_domain.kibana_endpoint. aws_elasticsearch_domain.kibana_endpoint is the complete URL to the endpoint including the path /_plugin/kibana/ which makes for an invalid CNAME.
1 parent 710883b commit 402b563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,5 +235,5 @@ module "kibana_hostname" {
235235
name = var.kibana_subdomain_name
236236
ttl = 60
237237
zone_id = var.dns_zone_id
238-
records = [join("", aws_elasticsearch_domain.default.*.kibana_endpoint)]
238+
records = [join("", aws_elasticsearch_domain.default.*.endpoint)]
239239
}

0 commit comments

Comments
 (0)