terraform/environments/dev/variables.tf (88 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 * * 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 "project_id" { type = string description = "GCP Project ID" validation { condition = length(var.project_id) > 0 error_message = "The project_id value must be an non-empty string." } } variable "region" { type = string description = "GCP Region" default = "us-central1" validation { condition = length(var.region) > 0 error_message = "The region value must be an non-empty string." } } variable "firestore_region" { type = string description = "Firestore Region" default = "us-central" } variable "dataset_location" { type = string description = "BigQuery Dataset location" default = "US" } variable "multiregion" { type = string default = "us" } variable "env" { type = string default = "dev" } variable "cluster_name" { type = string default = "adp-cluster" } variable "network" { type = string default = "adp-vpc" } variable "subnetwork" { type = string default = "adp-subnetwork" } #adding new variables for the updated scripts variable "project_name" { type = string default = "" description = "This project name" } variable "org_id" { default = "" description = "This project organization id" } variable "firebase_init" { default = false description = "Whether to run Firebase init resource" } variable "cloudrun_deploy" { default = false description = "Whether to deploy Queue cloudrun service resource" } variable "admin_email" { type = string description = "email of the cert issuer" } variable "api_domain" { type = string description = "api domain name" }