Homelab/terraform/terraform.tfvars.example
Tellsanguis c26289c262 fix(terraform): Mise à jour ID token dans exemple de terraform vers opentofu
Le fichier exemple avait root@pam!terraform en dur, ce qui écrasait la valeur secrète. Mis à jour pour correspondre au nom réel du token.
2025-11-13 19:45:17 +01:00

49 lines
1.2 KiB
Text

# Copy this file to terraform.tfvars and fill in your values
# Proxmox Configuration
proxmox_api_url = "https://192.168.100.10:8006/api2/json"
proxmox_token_id = "root@pam!opentofu"
proxmox_token_secret = "your-proxmox-token-secret"
proxmox_tls_insecure = true
# SSH Access
ssh_public_key = "ssh-ed25519 AAAAC3... your-email@example.com"
# Forgejo Configuration
forgejo_token = "your-forgejo-token"
forgejo_repo_url = "ssh://git@forgejo.tellserv.fr:222/Tellsanguis/infra.git"
# K3s Version
k3s_version = "v1.28.5+k3s1"
# Template and Storage
ubuntu_template = "ubuntu-2404-cloudinit"
storage_pool = "linstor_storage"
snippets_storage = "local"
# Network
k3s_network_bridge = "k3s"
k3s_gateway = "10.100.20.1"
k3s_dns = ["10.100.20.1", "1.1.1.1"]
# VM Configurations
k3s_server_1_config = {
ip = "10.100.20.10/24"
cores = 6
memory = 12288
disk_size = "100G"
}
k3s_server_2_config = {
ip = "10.100.20.20/24"
cores = 6
memory = 12288
disk_size = "100G"
}
etcd_witness_config = {
ip = "10.100.20.30/24"
cores = 2
memory = 2048
disk_size = "20G"
}