fix: skip clone storage override for linked Proxmox clones
Deploy Cluster / Terraform (push) Successful in 1m43s
Deploy Cluster / Ansible (push) Failing after 6m24s

The bpg/proxmox provider rejects clone.datastore_id when creating linked
clones. Only pass the target datastore when full clones are enabled so the
linked-clone baseline can provision from template 9000 successfully.
This commit is contained in:
2026-04-22 03:22:50 +00:00
parent 5c53b8e06e
commit 9482a0f551
+1 -1
View File
@@ -55,7 +55,7 @@ resource "proxmox_virtual_environment_vm" "nodes" {
clone { clone {
vm_id = var.proxmox_template_vm_id vm_id = var.proxmox_template_vm_id
datastore_id = var.proxmox_vm_storage_pool datastore_id = var.proxmox_clone_full ? var.proxmox_vm_storage_pool : null
full = var.proxmox_clone_full full = var.proxmox_clone_full
retries = 3 retries = 3
} }