HOMELAB-1056: add data_disk_discard, ignore image size drift #206
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "homelab-1056-terraform-drift"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plane
HOMELAB-1056
Changes
Module changes to support Terraform state drift reconciliation:
proxmox-vm/variables.tf— adddata_disk_discardvariable (default"ignore")proxmox-vm/main.tf— adddiscard = var.data_disk_discardto data disk dynamic block (virtio1)talos-cluster/variables.tf— adddata_disk_discardvariable (default"ignore")talos-cluster/main.tf— passdata_disk_discardtomodule.control_planesandmodule.workers; addlifecycle { ignore_changes = [size] }to bothdownload_fileresourcesDependency
This PR must merge to
liveBEFORE the prod PR (aaron/prod#...). The prodmodule.clustersources?ref=liveand won't pick up the newdata_disk_discardvariable until this is onlive.