Move Proxmox API token variables to variables-common.pkr.hcl for better organization

This commit is contained in:
Philip Henning 2026-02-12 19:12:27 +01:00
parent 8ccdc0c2e6
commit fc5b1525d7
2 changed files with 13 additions and 15 deletions

View file

@ -16,6 +16,19 @@ variable "source_proxmox_http_interface" {
description = "The network interface to use for the Proxmox HTTP source"
}
# Secrets
variable "proxmox_api_token_id" {
type = string
sensitive = true
description = "Proxmox API token ID in the format 'username@realm!tokenname'"
}
variable "proxmox_api_token_secret" {
type = string
sensitive = true
description = "Proxmox API token secret"
}
variable "default_luks_passphrase" {
type = string
default = "packer"