# ============================================================================= # Proxmox Connection # ============================================================================= variable "proxmox_endpoint" { type = string description = "Proxmox API endpoint (e.g., https://proxmox.example:8006/)" } variable "proxmox_api_token_id" { type = string description = "Proxmox API token ID (e.g., terraform@pve!terraform)" } variable "proxmox_api_token_secret" { type = string sensitive = true description = "Proxmox API token secret" } variable "proxmox_insecure" { type = bool default = true description = "Skip TLS verification for self-signed certificates" } variable "proxmox_node" { type = string description = "Proxmox node name to deploy VMs on" } # ============================================================================= # VM Defaults # ============================================================================= variable "username" { type = string description = "Default VM user account name" } variable "password" { type = string sensitive = true description = "Default VM user account password" } variable "ssh_key_path" { type = string description = "Path to SSH public key file" } variable "datastore_id" { type = string default = "local-zfs" description = "Default Proxmox datastore for VM disks" } variable "network_bridge" { type = string default = "vmbr1" description = "Default network bridge for VMs" } variable "gateway" { type = string default = "192.168.100.1" description = "Default gateway for VMs" } variable "template_vmid" { type = number default = 9000 description = "Template VM ID to clone from (Linux)" } variable "windows_template_vmid" { type = number default = 10000 description = "Template VM ID to clone from (Windows)" }