fix(terraform): parameterize worker network interface, use nvme diskSelector instead of raw path, add configurable swap partition support
This commit is contained in:
+10
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user