From 1f0b85ca042f3ef566b388286ea92e53fa5611a6 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 30 Nov 2024 00:37:58 +0100 Subject: [PATCH] fix: cores and bootdisk cpus are deprecated bootdisk is synced every time Signed-off-by: kjuulh --- node.tf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/node.tf b/node.tf index 72963ec..90625ff 100644 --- a/node.tf +++ b/node.tf @@ -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 ] } }