infrastructure/modules/talos-bootstrap/variables.tf

28 lines
788 B
Terraform
Raw Normal View History

2025-10-28 22:46:17 +01:00
variable "node_config" {
description = "Talos node configuration"
type = object({
ipv4_gateway = string
talos_version = string
gateway_api_version = string
2025-10-28 22:46:17 +01:00
cilium_version = string
cluster_name = string
kubernetes_version = string
cluster_endpoint = string
proxmox_node = string
controlplane_addresses = list(string)
worker_addresses = list(string)
})
}
variable "talos_nodes" {
description = "List of Talos nodes to bootstrap"
type = list(object({
name = string
type = string
ipv4_address = string
storage_address = optional(string)
pvc_disks = optional(list(number))
gpu_enabled = optional(bool, false)
2025-10-28 22:46:17 +01:00
}))
}