25 lines
699 B
Terraform
25 lines
699 B
Terraform
# 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
|
|
}
|
|
|
|
variable "proxmox_api_token" {
|
|
description = "Token API complet Proxmox : user@realm!tokenid=secret"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "node_name" {
|
|
description = "Nœud Proxmox cible"
|
|
type = string
|
|
default = "pve00"
|
|
}
|
|
|
|
variable "vm_user_sshkey" {
|
|
description = "Clé publique SSH injectée via cloud-init"
|
|
type = string
|
|
}
|