From fc5b1525d726ebbc6871280d1019b9848ecbe3bb Mon Sep 17 00:00:00 2001 From: phg Date: Thu, 12 Feb 2026 19:12:27 +0100 Subject: [PATCH] Move Proxmox API token variables to variables-common.pkr.hcl for better organization --- debian/13-trixie-luks/variables.pkr.hcl | 15 --------------- variables-common.pkr.hcl | 13 +++++++++++++ 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/debian/13-trixie-luks/variables.pkr.hcl b/debian/13-trixie-luks/variables.pkr.hcl index b5344c6..346e5c3 100644 --- a/debian/13-trixie-luks/variables.pkr.hcl +++ b/debian/13-trixie-luks/variables.pkr.hcl @@ -1,18 +1,3 @@ -# 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" -} - - - # Variables variable "template_vm_id" { type = string diff --git a/variables-common.pkr.hcl b/variables-common.pkr.hcl index 76c7358..22aab38 100644 --- a/variables-common.pkr.hcl +++ b/variables-common.pkr.hcl @@ -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"