chore(infra): simplify Terraform config and update docs for auto-install ISO

- Remove ISO upload and answer-file resources (pre-provisioned manually)
- Remove null_resource wait/token steps (token created out-of-band)
- Switch iso_file to iso_file_id referencing an existing Proxmox file ID
- Add lifecycle ignore_changes for started and cdrom
- Update README with proxmox-auto-install-assistant ISO prep instructions
- Update default variables to match homelab environment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Clint Branham
2026-03-18 12:57:32 -05:00
parent 8ea983c0fc
commit 79fae0bb37
4 changed files with 32 additions and 91 deletions
+5 -15
View File
@@ -53,24 +53,19 @@ variable "disk_size" {
variable "disk_storage" {
description = "Proxmox storage pool for VM disks (must support raw format)"
type = string
default = "local-lvm"
default = "nas-iscsi-lvm"
}
variable "iso_storage" {
description = "Proxmox storage pool for uploading the PVE ISO"
type = string
default = "local"
}
variable "iso_file" {
description = "Local path to the Proxmox VE installation ISO file"
variable "iso_file_id" {
description = "Proxmox file ID of the PVE installation ISO (e.g. nas-nfs:iso/proxmox-ve_9.1-1.iso)"
type = string
default = "nas-nfs:iso/proxmox-ve_9.1-1.iso"
}
variable "network_bridge" {
description = "Network bridge on the host to attach the nested PVE VM to"
type = string
default = "vmbr0"
default = "Core"
}
variable "test_vm_ip" {
@@ -102,8 +97,3 @@ variable "test_vm_password" {
default = "Testpass123!"
}
variable "answer_file_storage" {
description = "Proxmox storage pool for the answer file snippet (must support snippets content type)"
type = string
default = "local"
}