fix: terraform refresh vor destroy + lifecycle rules
Deploy Staging / staging (push) Failing after 4s

This commit is contained in:
Sebastian Serfling
2026-05-08 14:31:30 +02:00
parent f58b75980b
commit 9d2f12a8ef
2 changed files with 18 additions and 0 deletions
+5
View File
@@ -41,6 +41,11 @@ resource "proxmox_lxc" "staging" {
ssh_public_keys = var.ssh_public_key
# Lifecycle: Erlaubt Destroy von geschützten Ressourcen
lifecycle {
create_before_destroy = false
}
provisioner "remote-exec" {
inline = [
"apt-get update -qq",