From 7746bb69f71aa1a82dd107cdcde904be63102414 Mon Sep 17 00:00:00 2001 From: Andrew Dryga Date: Tue, 11 Jul 2023 15:52:23 -0600 Subject: [PATCH] Fix health checks path --- terraform/environments/staging/main.tf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/terraform/environments/staging/main.tf b/terraform/environments/staging/main.tf index c674a66f4..d226bd46e 100644 --- a/terraform/environments/staging/main.tf +++ b/terraform/environments/staging/main.tf @@ -395,7 +395,9 @@ module "web" { healthy_threshold = 1 unhealthy_threshold = 2 - http_health_check = {} + http_health_check = { + request_path = "/healthz" + } } } ] @@ -462,7 +464,9 @@ module "api" { healthy_threshold = 1 unhealthy_threshold = 2 - tcp_health_check = {} + http_health_check = { + request_path = "/healthz" + } } } ]