fix(terraform): parameterize worker network interface, use nvme diskSelector instead of raw path, add configurable swap partition support

This commit is contained in:
Story Crater Bot
2026-08-10 22:05:53 -07:00
parent d81c57f860
commit 209df7558e
4 changed files with 29 additions and 10 deletions
+10 -8
View File
@@ -123,14 +123,16 @@ variable "controlplane_configs" {
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)
hostname = string
lan_ip = string
lan_subnet = string
lan_gateway = string
install_disk = string
network_interface = optional(string, "eno1")
zone = string
gpu_count = optional(number, 0)
factory_image = optional(string)
swap_size = optional(string, "")
extra_disks = optional(list(object({
device = string
mountpoint = string