Files
terraform/proxmox/variables.tf
T
2026-09-27 22:17:30 +13:00

46 lines
937 B
Terraform

variable "proxmox_api_token" {
description = "Proxmox API token in the format user@realm!token_name=secret"
type = string
sensitive = true
}
variable "ssh_private_key_path" {
description = "Path to SSH private key for Proxmox host access"
type = string
default = "~/.ssh/id_ecdsa"
}
variable "ssh_public_key" {
description = "SSH public key to inject into created VMs"
type = string
}
variable "vm_name" {
description = "Name of the VM to create"
type = string
default = "debian-vm"
}
variable "vm_id" {
description = "Proxmox VM ID (100-999 for regular VMs)"
type = number
default = 100
}
variable "vm_cores" {
type = number
default = 2
}
variable "vm_memory" {
description = "Memory in MiB"
type = number
default = 2048
}
variable "vm_disk_size" {
description = "Disk size in GiB"
type = number
default = 20
}