variable "hcloud_token" { type = string sensitive = true } variable "cloudflare_api_token" { type = string sensitive = true } variable "cloudflare_account_id" { type = string sensitive = true } variable "k3s_token" { type = string sensitive = true } variable "k3s_backup_access_key" { sensitive = true type = string } variable "k3s_backup_secret_key" { sensitive = true type = string } variable "k3s_backup_endpoint" { type = string } variable "litestream_version" { type = string default = "v0.3.13" } variable "control_plane_k3s_version" { type = string default = "v1.30.4+k3s1" } variable "worker_k3s_version" { type = string default = "v1.30.4+k3s1" } variable "k3s_sans" { type = list(string) } variable "garage_storage" { description = "Config of Garage storage" type = object({ size = number location = string }) default = { size = 20 location = "hel1" } } variable "k3s_control_plane" { type = map(object({ server_type = string generation = number private_ip = string location = string alias_ips = set(string) })) } variable "k3s_workers" { type = map(object({ server_type = string generation = number private_ip = string location = string storage_node = bool })) } variable "ssh_keys" { type = list(string) default = [] description = "Additional SSH public keys for user 'core'." } variable "flatcar_release_channel" { type = string description = "Release channel" default = "stable" validation { condition = contains(["lts", "stable", "beta", "alpha"], var.flatcar_release_channel) error_message = "release_channel must be lts, stable, beta, or alpha." } }