Skip to content
Snippets Groups Projects
Commit 75a2b545 authored by Ole Langbehn's avatar Ole Langbehn
Browse files

Merge branch 'NOISSUE_handle-terraform-provider-google-issue-5898' into 'main'

NOISSUE handle https://github.com/hashicorp/terraform-provider-google/issues/5898

See merge request holisticfoundation/holi-unified-api!23
parents 7eb319f6 e5b5d1e9
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,8 @@ resource "google_cloud_run_service" "unified_api" { ...@@ -33,6 +33,8 @@ resource "google_cloud_run_service" "unified_api" {
project = data.terraform_remote_state.holi_infra_state.outputs.shared_project_id project = data.terraform_remote_state.holi_infra_state.outputs.shared_project_id
name = random_id.main.hex name = random_id.main.hex
location = "europe-north1" # finland, low CO2 emissions location = "europe-north1" # finland, low CO2 emissions
# https://github.com/hashicorp/terraform-provider-google/issues/5898
autogenerate_revision_name = true
template { template {
spec { spec {
...@@ -59,11 +61,11 @@ resource "google_cloud_run_service" "unified_api" { ...@@ -59,11 +61,11 @@ resource "google_cloud_run_service" "unified_api" {
value = local.geo_api_url value = local.geo_api_url
} }
env { env {
name = "VOLUNTEERING_API_URL" name = "VOLUNTEERING_API_URL"
value = local.volunteering_api_url value = local.volunteering_api_url
} }
env { env {
name = "VOLTASTICS_API_TOKEN" name = "VOLTASTICS_API_TOKEN"
value = "abc" # TODO replace with real API token once real API is available value = "abc" # TODO replace with real API token once real API is available
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment