foundation-extension/4-projects/business_unit_1/shared/variables.tf (62 lines of code) (raw):
/**
* Copyright 2021 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 "terraform_service_account" {
description = "Service account email of the account to impersonate to run Terraform"
type = string
}
variable "org_id" {
description = "The organization id for the associated services"
type = string
}
variable "billing_account" {
description = "The ID of the billing account to associated this project with"
type = string
}
variable "parent_folder" {
description = "Optional - if using a folder for testing."
type = string
default = ""
}
variable "alert_spent_percents" {
description = "A list of percentages of the budget to alert on when threshold is exceeded"
type = list(number)
default = [0.5, 0.75, 0.9, 0.95]
}
variable "alert_pubsub_topic" {
description = "The name of the Cloud Pub/Sub topic where budget related messages will be published, in the form of `projects/{project_id}/topics/{topic_id}`"
type = string
default = null
}
variable "budget_amount" {
description = "The amount to use as the budget"
type = number
default = 1000
}
variable "folder_prefix" {
description = "Name prefix to use for folders created."
type = string
default = "fldr"
}
variable "project_prefix" {
description = "Name prefix to use for projects created."
type = string
default = "prj"
}
variable "primary_location" {
description = "Location region to create resources"
type = string
default = "us-east1"
}