diff --git a/deployment/modules/gcp/example-gcp/main.tf b/deployment/modules/gcp/example-gcp/main.tf index bedf5312..83581e37 100644 --- a/deployment/modules/gcp/example-gcp/main.tf +++ b/deployment/modules/gcp/example-gcp/main.tf @@ -95,7 +95,7 @@ resource "google_cloud_run_v2_service" "default" { "--logtostderr", "--v=1", "--bucket=${module.gcs.log_bucket.id}", - "--spanner=${module.gcs.log_spanner_db.id}", + "--spanner=projects/${var.project_id}/instances/${module.gcs.log_spanner_instance.name}/databases/${module.gcs.log_spanner_db.name}", "--project=${var.project_id}", "--listen=:8080", "--kms_key=${google_kms_crypto_key_version.log_signer.id}",