variable "proxmox_endpoint" { description = "URL of the Proxmox API (e.g. https://192.168.1.10:8006/)" type = string } variable "proxmox_insecure" { description = "Skip TLS certificate verification (set true for self-signed certs)" type = bool default = false } variable "proxmox_api_token" { description = "Proxmox API token in the form user@realm!tokenid=secret" type = string sensitive = true } variable "proxmox_ssh_user" { description = "SSH username for the Proxmox node" type = string } variable "proxmox_ssh_password" { description = "SSH password for connecting to the Proxmox node" type = string sensitive = true default = null } variable "proxmox_ssh_agent" { description = "Use SSH agent for authentication" type = bool default = true } variable "node_name" { description = "Proxmox cluster node name" type = string } variable "vm_id" { description = "Unique Proxmox VM ID" type = number } variable "name" { description = "VM hostname" type = string } variable "description" { description = "VM description" type = string default = "" } variable "tags" { description = "Tags to apply to the VM" type = list(string) default = [] } variable "cpu_cores" { type = number default = 2 } variable "memory_dedicated" { description = "RAM in MB" type = number default = 2048 } variable "clone_vm_id" { description = "VM ID of the Windows template to clone" type = number default = 1002 } variable "clone_datastore_id" { description = "Target datastore for the cloned disks (null = keep on source datastore)" type = string default = null } variable "disk_datastore" { type = string default = "local-lvm" } variable "disk_size" { description = "Disk size in GB" type = number default = 60 } variable "data_disk_size" { description = "Size in GB of the data disk. Set to null to skip." type = number default = null } variable "data_disk_datastore" { description = "Proxmox datastore ID for the data disk." type = string default = "local-lvm" } variable "network_bridge" { type = string default = "vmbr11" } variable "network_vlan_id" { type = number default = null } variable "init_ipv4_address" { description = "IPv4 address in CIDR notation (e.g. 10.10.2.100/24) or dhcp" type = string } variable "init_ipv4_gateway" { description = "IPv4 gateway address" type = string default = null } variable "init_dns_servers" { description = "List of DNS servers for initialization" type = list(string) default = [] } variable "init_username" { description = "Username for the initial account" type = string default = "Administrator" } variable "admin_password" { description = "Password for the initial account" type = string sensitive = true } variable "cloud_init_datastore" { description = "Datastore used to store the cloud-init drive" type = string default = "local" }