feat(terraform): add GPU-enabled Talos schematic and worker node template support

This commit is contained in:
Story Crater Bot
2026-08-10 19:44:18 -07:00
parent feb7b25aba
commit 8589c40b44
6 changed files with 197 additions and 0 deletions
+19
View File
@@ -121,6 +121,25 @@ variable "controlplane_configs" {
description = "Control plane machine configurations, keyed by node"
}
variable "worker_configs" {
type = map(object({
hostname = string
lan_ip = string
lan_subnet = string
lan_gateway = string
install_disk = string
zone = string
gpu_count = optional(number, 0)
factory_image = optional(string)
extra_disks = optional(list(object({
device = string
mountpoint = string
})), [])
}))
default = {}
description = "Worker machine configurations, keyed by node"
}
variable "cluster_config" {
type = object({
controlplane_ip = string