Skip to content

Commit

Permalink
Merge pull request #29 from hearchco/as/fix/backend
Browse files Browse the repository at this point in the history
fix(backend): add /versionz
  • Loading branch information
aleksasiriski authored Jun 17, 2024
2 parents d4fba73 + 08790e4 commit 0d46a2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion aws/dev/backend/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ locals {
routes = toset([
"/search",
"/proxy",
"/healthz"
"/healthz",
"/versionz"
])
}
2 changes: 1 addition & 1 deletion aws/modules/backend/lambda/locals.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
default_env = tomap({
HEARCHCO_SERVER_ENVIRONMENT = "lambda"
HEARCHCO_SERVER_PROXY_SALT = var.proxy_salt
HEARCHCO_SERVER_IMAGEPROXY_SALT = var.proxy_salt
})

environment = var.use_default_env ? tomap(merge(local.default_env, var.environment)) : var.environment
Expand Down
3 changes: 2 additions & 1 deletion aws/prod/backend/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ locals {
routes = toset([
"/search",
"/proxy",
"/healthz"
"/healthz",
"/versionz"
])
}

0 comments on commit 0d46a2a

Please sign in to comment.