From a86f1ce46cca1b7e01987767bbe21a32bb1d2e7f Mon Sep 17 00:00:00 2001 From: Jonilson Sousa Date: Wed, 21 Feb 2024 19:24:39 -0300 Subject: [PATCH] Fix health path --- infra/alb.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/infra/alb.tf b/infra/alb.tf index 356ced2..7db287e 100644 --- a/infra/alb.tf +++ b/infra/alb.tf @@ -32,7 +32,7 @@ resource "aws_lb_target_group" "clientes" { interval = "30" protocol = "HTTP" matcher = "200,301,302" - path = "/" + path = "/health" timeout = "5" unhealthy_threshold = "5" } @@ -50,7 +50,7 @@ resource "aws_lb_target_group" "pedidos" { interval = "30" protocol = "HTTP" matcher = "200,301,302" - path = "/" + path = "/health" timeout = "5" unhealthy_threshold = "5" } @@ -68,7 +68,7 @@ resource "aws_lb_target_group" "pagamentos" { interval = "30" protocol = "HTTP" matcher = "200,301,302" - path = "/" + path = "/health" timeout = "5" unhealthy_threshold = "5" } @@ -86,7 +86,7 @@ resource "aws_lb_target_group" "producao" { interval = "30" protocol = "HTTP" matcher = "200,301,302" - path = "/" + path = "/health" timeout = "5" unhealthy_threshold = "5" }