diff --git a/data/data/aws/vpc/master-elb.tf b/data/data/aws/vpc/master-elb.tf index ba5ab7e1540..a3c60c9f8e1 100644 --- a/data/data/aws/vpc/master-elb.tf +++ b/data/data/aws/vpc/master-elb.tf @@ -44,7 +44,8 @@ resource "aws_lb_target_group" "api_internal" { unhealthy_threshold = 3 interval = 10 port = 6443 - protocol = "TCP" + protocol = "HTTPS" + path = "/healthz" } } @@ -66,7 +67,8 @@ resource "aws_lb_target_group" "api_external" { unhealthy_threshold = 3 interval = 10 port = 6443 - protocol = "TCP" + protocol = "HTTPS" + path = "/healthz" } } @@ -88,7 +90,8 @@ resource "aws_lb_target_group" "services" { unhealthy_threshold = 3 interval = 10 port = 49500 - protocol = "TCP" + protocol = "HTTPS" + path = "/healthz" } }