fix: cores and bootdisk
All checks were successful
continuous-integration/drone/push Build is passing

cpus are deprecated

bootdisk is synced every time

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-11-30 00:37:58 +01:00
parent fbf00e99e1
commit 1f0b85ca04
Signed by: kjuulh
GPG Key ID: D85D7535F18F35FA

View File

@ -50,7 +50,7 @@ resource "proxmox_vm_qemu" "node" {
cicustom = "vendor=local:snippets/cloud_init_deb12_node.yml"
ipconfig0 = "ip=${var.ip_address},gw=${var.gateway}"
cpu = var.cpu
cores = var.cpu
memory = var.memory
agent = 1
@ -101,7 +101,8 @@ resource "proxmox_vm_qemu" "node" {
## TF to think this needs to be rebuilt on every apply
lifecycle {
ignore_changes = [
network
network,
bootdisk
]
}
}