fix(opentofu): set storage to local-zfs for woodpecker agents
Security Audit / Infrastructure Scan (IaC) (push) Successful in 21s
Security Audit / Docker Image Scan (docker.io/apache/tika:latest) (push) Failing after 1m54s
Security Audit / Docker Image Scan (docker.io/gotenberg/gotenberg:8) (push) Failing after 2m31s
Security Audit / Docker Image Scan (docker.io/library/postgres:15) (push) Failing after 32s
Security Audit / Docker Image Scan (docker.io/library/redis:7) (push) Failing after 22s
Security Audit / Docker Image Scan (ghcr.io/icereed/paperless-gpt:latest) (push) Failing after 29s
Security Audit / Docker Image Scan (ghcr.io/paperless-ngx/paperless-ngx:latest) (push) Failing after 2m22s
Security Audit / Docker Image Scan (shenxn/protonmail-bridge:latest) (push) Successful in 33s
Deploy Infrastructure / plan (push) Successful in 15m59s
Deploy Infrastructure / apply (push) Successful in 59s
Deploy Infrastructure / integration-tests (push) Successful in 13s

Empty storage string caused Proxmox API 400 error. Server LXC 231
was created successfully, only agents 910/911 need this fix.
This commit is contained in:
2026-03-16 21:44:34 +01:00
parent c5bc901c3a
commit fb8a76545d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ locals {
tags = "woodpecker;ci;docker"
bridge = "v40srv"
disk_size = "30G"
storage = ""
storage = "local-zfs"
nesting = true
ostemplate = "local:vztmpl/debian-12-standard_12.12-1_amd64.tar.zst"
}
+1 -1
View File
@@ -16,7 +16,7 @@ module "woodpecker_agents" {
unprivileged = true
tags = join(",", compact([each.value.tags, "transient"]))
ostemplate = each.value.ostemplate
storage = lookup(each.value, "storage", "local-zfs")
storage = each.value.storage != "" ? each.value.storage : "local-zfs"
disk_size = each.value.disk_size
ssh_public_keys = local.common_ssh_keys