42 lines
897 B
HCL
42 lines
897 B
HCL
variable "pve_api_url" {
|
|
description = "Proxmox API Endpoint"
|
|
type = string
|
|
sensitive = true
|
|
default = "https://prox-console.tail1ad20b.ts.net/api2/json"
|
|
}
|
|
|
|
variable "pve_token" {
|
|
description = "Proxmox API Token"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "pve_username" {
|
|
description = "Proxmox API username, e.g. 'opentofu@pve!token'"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "pve_node" {
|
|
type = string
|
|
default = "pve"
|
|
}
|
|
|
|
variable "ssh_username" {
|
|
description = "Image SSH username"
|
|
type = string
|
|
default = "rocky"
|
|
}
|
|
|
|
variable "ssh_private_key_file" {
|
|
description = "Path to private SSH key"
|
|
type = string
|
|
sensitive = true
|
|
default = "./id_ed25519_rocky"
|
|
}
|
|
|
|
variable "ssh_public_key_file" {
|
|
description = "Path to public SSH key"
|
|
type = string
|
|
default = "./id_ed25519_rocky.pub"
|
|
} |