Skip to content

Commit

Permalink
Add more specific LB paths (#130)
Browse files Browse the repository at this point in the history
* Fix ECS routing priority so psc-statement-data-api routes are hit first

* Add more specific paths
  • Loading branch information
cgregoryCH authored Jul 18, 2024
1 parent e0bab31 commit 2582c7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion terraform/groups/ecs-service/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ locals {
kms_alias = "alias/${var.aws_profile}/environment-services-kms"
lb_listener_rule_priority = 88
lb_listener_paths = [
"/psc-data-api/healthcheck", "/company/*/persons-with-significant-control*"
"/psc-data-api/healthcheck",
"/company/*/persons-with-significant-control",
"/company/*/persons-with-significant-control/*"
]
healthcheck_path = "/psc-data-api/healthcheck" #healthcheck path for psc-data-api
healthcheck_matcher = "200"
Expand Down

0 comments on commit 2582c7d

Please sign in to comment.