infrastructure/terraform/modules/data-store/variables.tf (95 lines of code) (raw):

# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. variable "data_project_id" { description = "Default project to contain the MDS BigQuery datasets" type = string } variable "destination_data_location" { description = "Default location for the MDS BigQuery datasets" type = string } variable "data_processing_project_id" { description = "Project to run Dataform jobs" type = string } variable "google_default_region" { description = "The default Google Cloud region." type = string } variable "project_owner_email" { description = "Email address of the project owner." type = string } variable "dataform_github_repo" { description = "Private GitHub repo for Dataform." type = string } variable "dataform_github_token" { description = "GitHub token for Dataform repo." type = string } variable "dev_data_project_id" { description = "Project ID of where the dev datasets will created. If not provided, data_project_id will be used." type = string default = "" } variable "dev_destination_data_location" { description = "Location for the MDS BigQuery dev datasets. If not provided destination_data_location will be used." type = string default = "" } variable "staging_data_project_id" { description = "Project ID of where the staging datasets will created. If not provided, data_project_id will be used." type = string default = "" } variable "staging_destination_data_location" { description = "Location for the MDS BigQuery dev datasets. If not provided staging_data_location will be used." type = string default = "" } variable "deploy_dataform" { description = "Indicates that a dataform workspace needs to be created" type = bool default = true } variable "property_id" { description = "Google Analytics 4 Property id to create an MDS for it" type = string default = "" } variable "prod_data_project_id" { description = "Project ID of where the prod datasets will created. If not provided, data_project_id will be used." type = string default = "" } variable "prod_destination_data_location" { description = "Location for the MDS BigQuery prod datasets. If not provided destination_data_location will be used." type = string default = "" } variable "source_ga4_export_project_id" { description = "Project containing the GA4 exported data" type = string } variable "source_ga4_export_dataset" { description = "Dataset containing the GA4 exported data" type = string } variable "ga4_incremental_processing_days_back" { type = string default = "3" } variable "source_ads_export_data" { description = "List of BigQuery's Ads Data Transfer datasets" type = list(object({ project = string dataset = string table_suffix = string })) } variable "dataform_region" { description = "Specify dataform region when dataform is not available in the default cloud region of choice" type = string } variable "time_zone" { type = string }