From 1eb4c8f96e02fb53be4f406c2ebd3daf2397c392 Mon Sep 17 00:00:00 2001 From: darnodo Date: Mon, 8 Dec 2025 16:46:31 +0100 Subject: [PATCH] feat(prod): add monitoring VM configuration to tfvars Populate the previously empty `virtual_machines` map in the production environment. This defines a new "monitoring" VM instance running Debian with 2 cores, 4GB RAM, and 30GB disk space, assigned to IP 192.168.1.161. --- terraform/prod/terraform.tfvars | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/terraform/prod/terraform.tfvars b/terraform/prod/terraform.tfvars index f58c72f..d7577fa 100644 --- a/terraform/prod/terraform.tfvars +++ b/terraform/prod/terraform.tfvars @@ -33,7 +33,17 @@ admin_ssh_public_key_path = "~/.ssh/keys/id_rsa.pub" # Utilisateur par défaut sur les VMs default_vm_user = "damien" -virtual_machines = {} +virtual_machines = { + "monitoring" = { + os = "debian" + cores = 2 + memory = 4096 + disk_gb = 30 + ip = "192.168.1.161" + gateway = "192.168.1.254" + tags = ["monitoring"] + } +} ############################# # Notes de configuration