Skip to content

Commit

Permalink
Merge pull request #44 from fiap-soat-tech-challenge/fix_routes_2
Browse files Browse the repository at this point in the history
Fix routes 2
  • Loading branch information
jonilsonds9 authored Feb 21, 2024
2 parents c5206ae + a119f18 commit 3eed183
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions infra/alb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ resource "aws_lb_listener_rule" "clientes_rule" {

condition {
path_pattern {
values = ["/api/clientes/*"]
values = ["/api/clientes*"]
}
}
}
Expand All @@ -155,9 +155,9 @@ resource "aws_lb_listener_rule" "pedidos_rule" {
condition {
path_pattern {
values = [
"/api/pedidos/*",
"/api/produtos/*",
"/api/categorias/*"
"/api/pedidos*",
"/api/produtos*",
"/api/categorias*"
]
}
}
Expand All @@ -173,7 +173,7 @@ resource "aws_lb_listener_rule" "pagamentos_rule" {

condition {
path_pattern {
values = ["/api/pagamentos/*"]
values = ["/api/pagamentos*"]
}
}
}
Expand All @@ -188,7 +188,7 @@ resource "aws_lb_listener_rule" "producao_rule" {

condition {
path_pattern {
values = ["/api/producao/*"]
values = ["/api/producao*"]
}
}
}

0 comments on commit 3eed183

Please sign in to comment.