feat(terraform): add GPU-enabled Talos schematic and worker node template support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user