feat: add SSH key variables for CI support

Add proxmox_ssh_private_key for provider SSH in CI pipelines.
Add admin_ssh_public_key as content-based alternative to file path.
Both default to empty string for backward compatibility with local usage.
This commit is contained in:
2026-05-03 17:02:31 +00:00
parent 02979f9bb9
commit 3bb9c97d69

View File

@@ -17,12 +17,25 @@ variable "proxmox_api_token" {
sensitive = true
}
variable "proxmox_ssh_private_key" {
description = "Clé SSH privée pour la connexion Proxmox (utilisée en CI). Si vide, l'agent SSH local est utilisé."
type = string
sensitive = true
default = ""
}
variable "tailscale_auth_key" {
description = "Clé d'authentification Tailscale pour enregistrer les noeuds."
type = string
sensitive = true
}
variable "admin_ssh_public_key" {
description = "Contenu de la clé SSH publique à autoriser (utilisé en CI). Prioritaire sur admin_ssh_public_key_path."
type = string
default = ""
}
variable "admin_ssh_public_key_path" {
description = "Chemin vers le fichier de la clé SSH publique à autoriser."
type = string