mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-12-16 19:37:12 +00:00
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:
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user