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:
parent
77e387cf83
commit
b20233e05d
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue