mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-24 04:19:33 +01:00
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
|
||||
|
5
aws/container-linux/kubernetes/outputs.tf
Normal file
5
aws/container-linux/kubernetes/outputs.tf
Normal 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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user