Move Proxmox API token variables to variables-common.pkr.hcl for better organization
This commit is contained in:
parent
8ccdc0c2e6
commit
fc5b1525d7
2 changed files with 13 additions and 15 deletions
15
debian/13-trixie-luks/variables.pkr.hcl
vendored
15
debian/13-trixie-luks/variables.pkr.hcl
vendored
|
|
@ -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
|
# Variables
|
||||||
variable "template_vm_id" {
|
variable "template_vm_id" {
|
||||||
type = string
|
type = string
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,19 @@ variable "source_proxmox_http_interface" {
|
||||||
description = "The network interface to use for the Proxmox HTTP source"
|
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" {
|
variable "default_luks_passphrase" {
|
||||||
type = string
|
type = string
|
||||||
default = "packer"
|
default = "packer"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue