terraform/cdp/variables.tf (47 lines of code) (raw):
# Copyright 2025 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
#
# https://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 "billing_account" {
description = "Billing account for the projects/resources"
type = string
default = null
}
variable "destroy_all_resources" {
description = "Destroy all resources when calling tf destroy. Use false for production deployments. For test environments, set to true to remove all buckets and Spanner instances."
type = bool
default = true
}
variable "internet_access" {
description = "Set to true to create a NAT for Dataflow workers to access Internet."
type = bool
default = false
}
variable "network_prefix" {
description = "Prefix to be used for networks and subnetworks"
type = string
default = "dataflow"
}
variable "organization" {
description = "Organization for the project/resources"
type = string
default = null
}
variable "project_create" {
description = "True if you want to create a new project. False to reuse an existing project."
type = bool
}
variable "project_id" {
description = "Project ID for the project/resources"
type = string
}
variable "region" {
description = "The region for resources and networking"
type = string
}
variable "bq_dataset" {
description = "The output bq dataset"
type = string
default = "output_dataset"
}
variable "bq_table" {
description = "The output bq table"
type = string
default = "unified_data"
}