38 lines
1.1 KiB
Terraform
38 lines
1.1 KiB
Terraform
variable "proxmox_endpoint" {
|
|
description = "Proxmox API endpoint URL, for example https://pve.example.local:8006/api2/json"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "proxmox_insecure" {
|
|
description = "Set true only for local testing with self-signed TLS; prefer false in stable environments."
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
#variable "proxmox_username" {
|
|
# description = "Username for password-based auth (placeholder; optional if token auth is used)."
|
|
# type = string
|
|
# default = ""
|
|
#}
|
|
|
|
#variable "proxmox_password" {
|
|
# description = "Password for password-based auth (placeholder; optional if token auth is used)."
|
|
# type = string
|
|
# default = ""
|
|
# sensitive = true
|
|
#}
|
|
|
|
variable "proxmox_api_token_id" {
|
|
type = string
|
|
description = "Proxmox API token ID, e.g. terraform@pve!tf"
|
|
sensitive = true
|
|
}
|
|
|
|
variable "proxmox_api_token_secret" {
|
|
description = "API token for token-based auth (placeholder; optional if username/password is used)."
|
|
type = string
|
|
default = ""
|
|
sensitive = true
|
|
}
|