Files
iac-homelab/terraform/prod/terraform.tfvars
Damien e4889aa9bc
All checks were successful
Terraform Deploy / Validate (push) Successful in 12s
Terraform Deploy / Plan (push) Successful in 4s
Terraform Deploy / Apply (push) Has been skipped
feat(prod): add IP Fabric virtual machine configuration
Update the production terraform variables to define the 'ipfabric'
virtual machine. This replaces the empty VM map with specific
resource allocations:

- Resources: 4 vCPUs, 16GB RAM, 128GB Storage
- Network: Static IP 192.168.1.161
- OS tag: ipfabric

This configuration enables the provisioning of the IP Fabric node in the
production environment.
2026-02-05 13:53:37 +01:00

64 lines
1.7 KiB
HCL

# terraform.tfvars.example
# Fichier d'exemple pour la configuration Terraform du homelab
#
# Instructions :
# 1. Copiez ce fichier vers terraform.tfvars
# 2. Personnalisez les valeurs selon votre environnement
# 3. Le fichier terraform.tfvars est ignoré par Git pour la sécurité
#############################
# Configuration Proxmox
#############################
# URL de votre serveur Proxmox (REQUIS)
proxmox_url = "https://pve01.taila5ad8.ts.net:8006"
# Nœud Proxmox cible (défaut: pve01)
target_node = "pve01"
#############################
# Configuration réseau
#############################
# Suffixe de domaine pour les VMs
domain_suffix = "taila5ad8.ts.net"
#############################
# Configuration SSH
#############################
# Chemin vers votre clé SSH publique
admin_ssh_public_key_path = "~/.ssh/keys/id_rsa.pub"
# Utilisateur par défaut sur les VMs
default_vm_user = "damien"
virtual_machines = {
"ipfabric" = {
os = "ipfabric"
cores = 4
memory = 16384
disk_gb = 128
ip = "192.168.1.161"
gateway = "192.168.1.254"
tags = ["ipfabric"]
}
}
#############################
# Notes de configuration
#############################
# Templates requis sur Proxmox :
# - Template Ubuntu avec tags : ["ubuntu", "template"]
# - Template Debian avec tags : ["debian", "template"]
# - Template Alpine avec tags : ["alpine", "template"]
# - Template Rocky avec tags : ["rocky", "template"]
# - Template CentOS avec tags : ["centos", "template"]
# Ressources recommandées par type de service :
# - Monitoring : 2 CPU, 4GB RAM, 30GB disque
# - Web server : 2 CPU, 2GB RAM, 20GB disque
# - Database : 4+ CPU, 8GB+ RAM, 50GB+ disque
# - Kubernetes : 4+ CPU, 4GB+ RAM, 40GB+ disque