Files
iac-homelab/terraform/prod/terraform.tfvars
darnodo 1fa826ae7a
Some checks failed
Terraform Deploy / Validate (push) Has been cancelled
Terraform Deploy / Plan (push) Has been cancelled
Terraform Deploy / Apply (push) Has been cancelled
feat(prod): add ipfabric virtual machine configuration
Adds the 'ipfabric' instance to the production virtual_machines inventory.
This provisions the server with 8 cores, 16GB memory, and 128GB disk
assigned to IP 192.168.1.162.
2025-12-17 20:38:59 +01:00

73 lines
1.9 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 = {
"netlab" = {
os = "debian"
cores = 8
memory = 24576
disk_gb = 64
ip = "192.168.1.161"
gateway = "192.168.1.254"
tags = ["netlab"]
},
"ipfabric" = {
os = "ipfabric"
cores = 8
memory = 16384
disk_gb = 128
ip = "192.168.1.162"
gateway = "192.168.1.254"
tags = ["ipfabric", "netlab"]
}
}
#############################
# 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