diff --git a/lb.tf b/lb.tf index 045145f..4105f4a 100644 --- a/lb.tf +++ b/lb.tf @@ -24,7 +24,7 @@ resource "aws_lb_listener" "main" { fixed_response { content_type = "text/plain" status_code = "418" - message_body = "SOAT Tech Challenge - ALB Invalid destination" + message_body = "418 ALB Invalid destination - SOAT Tech Challenge" } } diff --git a/lb_listener_rules.tf b/lb_listener_rules.tf index bd6a20d..5211a3e 100644 --- a/lb_listener_rules.tf +++ b/lb_listener_rules.tf @@ -9,7 +9,7 @@ resource "aws_lb_listener_rule" "identification_svc_rule" { condition { path_pattern { - values = ["/identification/*"] + values = ["/identification*"] } } @@ -29,7 +29,7 @@ resource "aws_lb_listener_rule" "order_svc_rule" { condition { path_pattern { - values = ["/order/*"] + values = ["/order*"] } } @@ -49,7 +49,7 @@ resource "aws_lb_listener_rule" "payment_svc_rule" { condition { path_pattern { - values = ["/payment/*"] + values = ["/payment*"] } } @@ -69,7 +69,7 @@ resource "aws_lb_listener_rule" "production_svc_rule" { condition { path_pattern { - values = ["/production/*"] + values = ["/production*"] } }