aws: Add Ingress ELB DNS name output as ingress_dns_name

* Expose the Ingress ELB DNS name so application DNS records can
be defined in Terraform to resolve to the Ingress ELB
This commit is contained in:
Dalton Hubble 2017-09-28 00:46:17 -07:00
parent 77e387cf83
commit b20233e05d
2 changed files with 6 additions and 1 deletions

View File

@ -18,7 +18,7 @@ resource "aws_elb" "ingress" {
instance_protocol = "tcp"
}
# Kubelet HTTP health check
# Ingress Controller HTTP health check
health_check {
target = "HTTP:10254/healthz"
healthy_threshold = 2

View File

@ -0,0 +1,5 @@
output "ingress_dns_name" {
value = "${aws_elb.ingress.dns_name}"
description = "DNS name of the ELB for distributing traffic to Ingress controllers"
}