From 7a16224864a83f8b7fea7a168b1e19248d2e56b2 Mon Sep 17 00:00:00 2001 From: Wissam Moussa <70960477+wmoussa-gc@users.noreply.github.com> Date: Wed, 8 May 2024 10:15:47 -0400 Subject: [PATCH] modify LB endpoint so it works for pre-app router and the new app router (#657) --- aws/load_balancer/lb.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/load_balancer/lb.tf b/aws/load_balancer/lb.tf index 8e966726f..7e6789b05 100644 --- a/aws/load_balancer/lb.tf +++ b/aws/load_balancer/lb.tf @@ -34,7 +34,7 @@ resource "aws_lb_target_group" "form_viewer_1" { health_check { enabled = true interval = 10 - path = "/form-builder/edit" + path = "/en/form-builder" port = 3000 matcher = "200" timeout = 5 @@ -59,7 +59,7 @@ resource "aws_lb_target_group" "form_viewer_2" { enabled = true interval = 10 port = 3000 - path = "/form-builder/edit" + path = "/en/form-builder" matcher = "200" timeout = 5 healthy_threshold = 2