Merge pull request '[deploy-opentofu]' (#305) from fenix-admin into dev

Reviewed-on: fenix-gitea-admin/iac-opentofu-private#305
This commit is contained in:
2025-10-15 21:21:55 +00:00
2 changed files with 5 additions and 0 deletions

View File

@ -177,6 +177,10 @@ resource "proxmox_virtual_environment_vm" "k8s_vms" {
address = each.value.ip address = each.value.ip
gateway = each.value.gateway gateway = each.value.gateway
} }
ipv4 {
address = each.value.ip3
gateway = each.value.gateway
}
} }
ip_config { ip_config {
ipv4 { ipv4 {

View File

@ -41,6 +41,7 @@ variable "proxmox_k8s_vms" {
node_name = string node_name = string
ip = string ip = string
ip2 = string ip2 = string
ip3 = string
cores = optional(number) cores = optional(number)
memory = optional(number) memory = optional(number)
data_store = optional(string) data_store = optional(string)