Files
gcp_solution_architecture_a…/terraform/variables.tf
2026-09-01 19:58:42 +00:00

9 lines
724 B
HCL

variable "project_id" { type = string; description = "Google Cloud project ID" }
variable "region" { type = string; default = "us-central1" }
variable "name" { type = string; default = "architecture-demo"; validation { condition = can(regex("^[a-z][a-z0-9-]{0,29}$", var.name)); error_message = "name must be lowercase and up to 30 characters." } }
variable "api_image" { type = string; description = "Immutable API container image reference" }
variable "worker_image" { type = string; description = "Immutable worker container image reference" }
variable "sql_tier" { type = string; default = "db-f1-micro" }
variable "sql_ha" { type = bool; default = false }
variable "deletion_protection" { type = bool; default = true }