variable "vm_name" { description = "Hostname and Proxmox display name" type = string } variable "target_node" { description = "Proxmox node name to place the VM on" type = string } variable "clone_template_id" { description = "Proxmox VM ID of the cloud-init template to clone" type = number } variable "cores" { description = "CPU cores" type = number default = 2 } variable "memory_mb" { description = "RAM in MB" type = number default = 2048 } variable "disk_size_gb" { description = "Boot disk size in GB" type = number default = 20 } variable "datastore_id" { description = "Proxmox datastore for disk and cloud-init drive" type = string default = "local-lvm" } variable "ip_address" { description = "Static IPv4 address in CIDR notation, e.g. 192.168.1.10/24" type = string } variable "gateway" { description = "Default IPv4 gateway" type = string } variable "dns_servers" { description = "DNS server addresses passed to cloud-init" type = list(string) } variable "dns_domain" { description = "Search domain passed to cloud-init" type = string default = "" } variable "ssh_public_keys" { description = "Public SSH keys provisioned for the ansible user via cloud-init" type = list(string) } variable "vlan_tag" { description = "802.1q VLAN tag; null disables tagging" type = number default = null } variable "tags" { description = "Proxmox UI tags" type = list(string) default = [] }