Migration provider bpg, templates cloud-init propres, cluster k3s HA (control-plane)
This commit is contained in:
@@ -1,19 +1,24 @@
|
||||
# Accès SSH
|
||||
variable "admin_username" {
|
||||
description = "Nom d'utilisateur pour se connecter à la VM"
|
||||
# Variables pour le projet IT-Konoha
|
||||
# Ces variables peuvent être utilisées dans les fichiers .tf pour rendre la configuration plus flexible et réutilisable.
|
||||
|
||||
variable "proxmox_endpoint" {
|
||||
description = "URL du endpoint Proxmox (ex: https://192.168.76.43:8006/) — SANS /api2/json à la fin"
|
||||
type = string
|
||||
default = "admin.almeyric"
|
||||
}
|
||||
|
||||
/* variable "ssh_public_key" {
|
||||
description = "Clé publique SSH"
|
||||
variable "proxmox_api_token" {
|
||||
description = "Token API complet Proxmox : user@realm!tokenid=secret"
|
||||
type = string
|
||||
sensitive = true
|
||||
} */
|
||||
}
|
||||
|
||||
# Tag environnement
|
||||
variable "environment_tag" {
|
||||
description = "Indique l'environnement de déploiement (dev, test, prod)"
|
||||
variable "node_name" {
|
||||
description = "Nœud Proxmox cible"
|
||||
type = string
|
||||
default = "test"
|
||||
}
|
||||
default = "pve00"
|
||||
}
|
||||
|
||||
variable "vm_user_sshkey" {
|
||||
description = "Clé publique SSH injectée via cloud-init"
|
||||
type = string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user