first commit

This commit is contained in:
darnodo
2025-06-09 11:58:11 +02:00
commit 6a00eb2708
20 changed files with 532 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
# Fichier: terraform/environments/prod/variables.tf
variable "target_node" {
description = "Le nom du noeud Proxmox sur lequel déployer les VMs."
type = string
default = "pve01"
}
variable "proxmox_url" {
description = "URL du noeud Proxmox sur lequel déployer les VMs."
type = string
}
variable "proxmox_api_token" {
description = "Token pour accéder à l'API Proxmox"
type = string
}
variable "admin_ssh_public_key_path" {
description = "Chemin vers le fichier de la clé SSH publique à autoriser."
type = string
default = "~/.ssh/keys/id_rsa.pub"
}
variable "monitoring_vms" {
description = "Une map décrivant les VMs pour la supervision."
type = map(object({
os = string
cores = number
cpu_type = string
memory = number
disk_gb = number
ip = string
gateway = string
}))
default = {}
}