Skip to content

Commit

Permalink
fix locals file
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoscoe committed Dec 19, 2024
1 parent 982f3d2 commit 16c02fc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions deploy/terraform-custom-datacommons/modules/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,16 @@ locals {

# Use var.billing_project_id if set, otherwise use project_id for billing
billing_project_id = var.billing_project_id != null ? var.billing_project_id : var.project_id

# Data Commons API hostname
dc_api_hostname = "api.datacommons.org"

# Data Commons API root url
dc_api_root = "${var.dc_api_protocol}://${var.dc_api_hostname}"
# Data Commons API protocol
dc_api_protocol = "https"

# Data Commons API root url
dc_api_root = "${local.dc_api_protocol}://${local.dc_api_hostname}"

# Shared environment variables used by the Data Commons web service and the Data
# Commons data loading job
cloud_run_shared_env_variables = [
Expand Down

0 comments on commit 16c02fc

Please sign in to comment.