From cc40dff49a1d2ae575ef71af7f39019ed4f6b592 Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Sat, 28 Feb 2026 18:55:07 +0000 Subject: [PATCH] fix: allow required VM reboots and serialize apply --- .gitea/workflows/terraform-apply.yml | 2 +- terraform/main.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/terraform-apply.yml b/.gitea/workflows/terraform-apply.yml index 7a20fcd..5235a63 100644 --- a/.gitea/workflows/terraform-apply.yml +++ b/.gitea/workflows/terraform-apply.yml @@ -70,7 +70,7 @@ jobs: - name: Terraform Apply working-directory: terraform - run: terraform apply -auto-approve tfplan + run: terraform apply -parallelism=1 -auto-approve tfplan - name: Create SSH key run: | diff --git a/terraform/main.tf b/terraform/main.tf index 9299904..a8c0a55 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -25,7 +25,7 @@ resource "proxmox_vm_qemu" "control_planes" { full_clone = true os_type = "cloud-init" agent = 1 - automatic_reboot = false + automatic_reboot = true cpu { sockets = 1 @@ -83,7 +83,7 @@ resource "proxmox_vm_qemu" "workers" { full_clone = true os_type = "cloud-init" agent = 1 - automatic_reboot = false + automatic_reboot = true cpu { sockets = 1