# --- Proxmox --- variable "proxmox_url" { description = "URL de l'API Proxmox (ex: https://192.168.1.242:8006)" type = string } variable "proxmox_api_token" { description = "Token API au format user@realm!tokenid=secret" type = string sensitive = true } variable "proxmox_node" { description = "Nom du node Proxmox" type = string default = "SRV-PROXMOX" } variable "template_vmid" { description = "VMID du template cloud-init a cloner" type = number default = 9000 } variable "storage_name" { description = "Nom du stockage pour les disques VM" type = string default = "VMS" } # --- Reseau --- variable "network_bridge" { description = "Bridge Proxmox" type = string default = "vmbr0" } variable "network_gateway" { description = "Gateway du reseau (box)" type = string default = "192.168.1.1" } variable "dns_server" { description = "Serveur DNS" type = string default = "192.168.1.1" } variable "gateway_ip" { description = "IP de la VM gateway" type = string default = "192.168.1.254" } variable "forgejo_ip" { description = "IP de la VM Forgejo" type = string default = "192.168.1.50" } variable "nextcloud_ip" { description = "IP de la VM Nextcloud" type = string default = "192.168.1.51" } variable "tools_ip" { description = "IP de la VM tools" type = string default = "192.168.1.52" } variable "runner_ip" { description = "IP de la VM Forgejo Actions runner" type = string default = "192.168.1.53" } # --- Cloud-init --- variable "ci_user" { description = "Utilisateur cree par cloud-init" type = string default = "ansible" } variable "ssh_public_key" { description = "Cle publique SSH injectee par cloud-init" type = string }