Files
Clint Branham 0dff14f4ba fix(ci): use Terraform provider for ISO upload, fix port/lockfile issues
- Use proxmox_virtual_environment_file resource to upload the auto-install
  ISO via the API. terraform destroy now cleans up both the VM and ISO.
- Remove manual upload-to-pve.sh and cleanup-pve-storage.sh scripts.
- Commit .terraform.lock.hcl for reproducible CI builds.
- Replace iso_file_id variable with iso_local_path and iso_storage.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 14:19:24 -05:00

16 lines
499 B
Plaintext

# Connection to your existing Proxmox host
proxmox_endpoint = "https://pve.example.com:8006"
proxmox_api_token = "root@pam!terraform=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
target_node = "pve"
# Local path to the prepared auto-install ISO (output of prepare-auto-iso.sh)
iso_local_path = "/tmp/proxmox-ve_9.1-1-auto.iso"
disk_storage = "local-lvm"
# Optional overrides
# cores = 4
# memory = 8192
# disk_size = 64
# network_bridge = "vmbr0"
# iso_storage = "local"