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

Reviewed-on: fenix-gitea-admin/iac-opentofu-private#323
This commit is contained in:
2025-12-08 15:05:20 +00:00
2 changed files with 3 additions and 1 deletions

View File

@ -170,6 +170,7 @@ resource "proxmox_virtual_environment_vm" "k8s_vms" {
content { content {
device = hostpci.value.device device = hostpci.value.device
pcie = try(hostpci.value.pcie, true) pcie = try(hostpci.value.pcie, true)
mapping = hostpci.value.mapping
} }
} }

View File

@ -44,7 +44,8 @@ variable "proxmox_k8s_vms" {
ip3 = string ip3 = string
hostpci = optional(list(object({ hostpci = optional(list(object({
pcie = bool pcie = bool
device =string device = string
mapping = string
}))) })))
cores = optional(number) cores = optional(number)
memory = optional(number) memory = optional(number)