Skip to content

Commit

Permalink
Fix #14 invalid kibana_hostname (#47)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
igable authored Apr 21, 2020
1 parent 710883b commit 402b563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -235,5 +235,5 @@ module "kibana_hostname" {
name = var.kibana_subdomain_name
ttl = 60
zone_id = var.dns_zone_id
records = [join("", aws_elasticsearch_domain.default.*.kibana_endpoint)]
records = [join("", aws_elasticsearch_domain.default.*.endpoint)]
}

0 comments on commit 402b563

Please sign in to comment.