Files
softwarefactory/infrastructure-admin/terraform.tfvars
2025-09-02 07:25:44 +02:00

35 lines
961 B
HCL

# --------------------------
# Proxmox Connection
# --------------------------
proxmox_url = "https://pve.example.com:8006/api2/json"
proxmox_user = "root@pam"
proxmox_password = "YourProxmoxPassword"
proxmox_tls_insecure = true
# --------------------------
# Template & Target Nodes
# --------------------------
template_id = "100" # ID of your cloud-init Ubuntu template in Proxmox
target_nodes = {
controller = "pve1"
worker1 = "pve2"
worker2 = "pve3"
}
# --------------------------
# SSH Keys for Cloud-Init
# --------------------------
ssh_public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD..." # Replace with your public key
# --------------------------
# Networking
# --------------------------
bridge = "vmbr0"
storage = "local-lvm"
controller_ip = "192.168.10.10"
worker1_ip = "192.168.10.11"
worker2_ip = "192.168.10.12"
netmask = "24"
gateway = "192.168.10.1"
vm_domain = "lab.local"