modules/deploy-pipeline/variables.tf (26 lines of code) (raw):
variable "project_id" {
description = "Project ID"
}
variable "service_name" {
description = "Name of the service"
type = string
default = "unnamed"
}
variable "pipeline_location" {
description = "Pipeline location."
type = string
default = "us-central1"
}
variable "archetype" {
description = "Archetype to deploy service with. Accepted types are SZ (Single Zone), APZ (Active Passive Zone), MZ (Multi Zonal), APR (Active Passive Region), IR (Isolated Region) and G (Global)"
type = string
default = "SZ"
}
variable "region_index" {
description = "Region index to deploy service to. Needs to be set for MZ, APR, IR"
type = list(number)
}
variable "zone_index" {
description = "Zone index to deploy service to. Needs to be set for SZ, APZ"
type = list(number)
}