############################################################ # Variables for Hetzner Talos Kubernetes Cluster ############################################################ # Authentication variable "hcloud_token" { type = string description = "Hetzner Cloud API token" sensitive = true } # Cluster Configuration variable "environment" { type = string description = "Environment name (prod, staging, dev)" default = "prod" } # SSH Configuration variable "ssh_public_key" { type = string description = "Public SSH key for emergency access to nodes" } # Talos Configuration variable "talos_image_id" { type = number description = "ID da imagem Talos customizada na Hetzner (criada na aula-07). Obtenha com: hcloud image list --type snapshot" } variable "talos_version" { type = string description = "Talos version to use" default = "v1.11.2" # Match the official image version } # Monitoring Configuration variable "enable_monitoring" { type = bool description = "Enable Victoria Metrics monitoring stack" default = true } # Auto-scaling Configuration variable "scale_up_threshold" { type = number description = "CPU percentage to trigger scale up" default = 70 } variable "scale_down_threshold" { type = number description = "CPU percentage to trigger scale down" default = 30 } # Tags for resource management variable "custom_labels" { type = map(string) description = "Custom labels to add to all resources" default = {} }