Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

Expand Down
8 changes: 4 additions & 4 deletions lb_listener_rules.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "aws_lb_listener_rule" "identification_svc_rule" {

condition {
path_pattern {
values = ["/identification/*"]
values = ["/identification*"]
}
}

Expand All @@ -29,7 +29,7 @@ resource "aws_lb_listener_rule" "order_svc_rule" {

condition {
path_pattern {
values = ["/order/*"]
values = ["/order*"]
}
}

Expand All @@ -49,7 +49,7 @@ resource "aws_lb_listener_rule" "payment_svc_rule" {

condition {
path_pattern {
values = ["/payment/*"]
values = ["/payment*"]
}
}

Expand All @@ -69,7 +69,7 @@ resource "aws_lb_listener_rule" "production_svc_rule" {

condition {
path_pattern {
values = ["/production/*"]
values = ["/production*"]
}
}

Expand Down