diff --git a/proxmox.tf b/proxmox.tf index 8cf0c99..6c506b3 100644 --- a/proxmox.tf +++ b/proxmox.tf @@ -177,6 +177,10 @@ resource "proxmox_virtual_environment_vm" "k8s_vms" { address = each.value.ip gateway = each.value.gateway } + ipv4 { + address = each.value.ip3 + gateway = each.value.gateway + } } ip_config { ipv4 { diff --git a/proxmox.variables.tf b/proxmox.variables.tf index bbef036..8a2faf5 100644 --- a/proxmox.variables.tf +++ b/proxmox.variables.tf @@ -41,6 +41,7 @@ variable "proxmox_k8s_vms" { node_name = string ip = string ip2 = string + ip3 = string cores = optional(number) memory = optional(number) data_store = optional(string)