fix(terraform): Configure storage for local templates
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 17s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 2m24s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 2m30s
CD - Deploy Infrastructure / Deploy on pve3 (push) Successful in 2m29s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s

- Use local templates (VMID 10000/10001/10002) on each node
- Production VMs (k3s-server-1/2): linstor_storage
- Witness VM (etcd-witness): local-lvm
- Add storage pool variables with defaults
This commit is contained in:
Tellsanguis 2025-11-26 19:22:14 +01:00
parent 80d434069b
commit f6503fe9da
7 changed files with 61 additions and 37 deletions

View file

@ -53,6 +53,12 @@ variable "storage_pool" {
type = string
}
variable "k3s_server_2_storage_pool" {
description = "Storage pool for k3s-server-2 disk (linstor_storage for HA)"
type = string
default = "linstor_storage"
}
variable "snippets_storage" {
description = "Proxmox storage for cloud-init snippets"
type = string