Skip to content

Commit

Permalink
fix bug in endpoint name for dev in tofu
Browse files Browse the repository at this point in the history
  • Loading branch information
GondekNP committed Mar 5, 2024
1 parent fef01d5 commit 0761a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .deployment/tofu/modules/burn_backend/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ resource "google_cloud_run_v2_service" "tf-rest-burn-severity" {
## TODO [#24]: self-referential endpoint, will be solved by refactoring out titiler and/or making fully static
env {
name = "GCP_CLOUD_RUN_ENDPOINT"
value = "${terraform.workspace}" == "prod" ? "https://tf-rest-burn-severity-ohi6r6qs2a-uc.a.run.app" : "https://tf-rest-burn-severity-dev-ohi6r6qs2a-uc.a.run.appz"
value = "${terraform.workspace}" == "prod" ? "https://tf-rest-burn-severity-ohi6r6qs2a-uc.a.run.app" : "https://tf-rest-burn-severity-dev-ohi6r6qs2a-uc.a.run.app"
}
env {
name = "CPL_VSIL_CURL_ALLOWED_EXTENSIONS"
Expand Down

0 comments on commit 0761a9b

Please sign in to comment.