windows-iac-vm-tooling/packer/variables.pkr.hcl

80 lines
1.6 KiB
HCL
Raw Normal View History

variable "proxmox_url" {
type = string
default = "https://la-vmh-07:8006/api2/json"
description = "Proxmox API URL"
}
variable "proxmox_username" {
type = string
default = "root@pam"
description = "Proxmox authentication user"
}
variable "proxmox_password" {
type = string
default = ""
description = "Proxmox password (set via PKR_VAR_proxmox_password env var)"
sensitive = true
}
variable "proxmox_node" {
type = string
default = "la-vmh-07"
description = "Proxmox node name"
}
variable "vm_name" {
type = string
default = "win11-ltsc-template"
description = "Name of the template VM"
}
variable "vm_memory" {
type = number
default = 8192
description = "VM memory in MB"
}
variable "vm_cores" {
type = number
default = 4
description = "Number of CPU cores"
}
variable "vm_disk_size" {
type = string
default = "60G"
description = "Disk size"
}
variable "iso_storage" {
type = string
default = "local"
description = "Proxmox storage for ISOs"
}
variable "windows_iso" {
type = string
default = "CLIENT_LTSC_EVAL_x64FRE_en-us.iso"
description = "Windows ISO filename"
}
variable "disk_storage" {
type = string
default = "local-lvm"
description = "Proxmox storage for disks"
}
variable "virtio_iso" {
type = string
default = "local:iso/virtio-win.iso"
description = "Path to VirtIO ISO"
}
variable "winrm_password" {
type = string
default = "PackerPassword123!"
description = "Windows Administrator password for WinRM"
sensitive = true
}