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:
@@ -17,12 +17,25 @@ variable "proxmox_api_token" {
|
|||||||
sensitive = true
|
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" {
|
variable "tailscale_auth_key" {
|
||||||
description = "Clé d'authentification Tailscale pour enregistrer les noeuds."
|
description = "Clé d'authentification Tailscale pour enregistrer les noeuds."
|
||||||
type = string
|
type = string
|
||||||
sensitive = true
|
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" {
|
variable "admin_ssh_public_key_path" {
|
||||||
description = "Chemin vers le fichier de la clé SSH publique à autoriser."
|
description = "Chemin vers le fichier de la clé SSH publique à autoriser."
|
||||||
type = string
|
type = string
|
||||||
|
|||||||
Reference in New Issue
Block a user