infra/terraform/terraform.tfvars.example
2025-12-16 15:42:47 -06:00

46 lines
1.4 KiB
Text

# Copy this file to terraform.tfvars and fill in your values
# Or use environment variables:
# export TF_VAR_vultr_api_key="your_vultr_api_key"
# export TF_VAR_tailscale_key="your_tailscale_auth_key"
# export TF_VAR_proxmox_password="your_proxmox_password"
# Vultr Configuration
vultr_api_key = "your_vultr_api_key_here"
tailscale_key = "your_tailscale_auth_key_here"
# Proxmox Configuration
proxmox_api_url = "https://10.0.16.231:8006"
proxmox_user = "root@pam"
proxmox_password = "your_proxmox_password_here"
proxmox_tls_insecure = true
# Proxmox node names
proxmox_nodes = ["lab02", "lab03", "lab04"]
# Cluster configuration
cluster_name = "home-k3s"
vm_template = "debian-13-cloudinit"
storage_pool = "ceph"
# Network configuration
network_bridge = "vmbr0"
network_cidr = "10.0.16.0/22"
network_gateway = "10.0.19.254"
# Control plane configuration
control_plane_count = 3
control_plane_cores = 2
control_plane_memory = 8192
control_plane_disk_size = 32 # GB
control_plane_ip_start = 868 # Will use 10.0.19.100, .101, .102
# Worker node configuration
worker_count = 3
worker_cores = 4
worker_memory = 8192
worker_disk_size = 64 # GB
worker_ip_start = 878 # Will use 10.0.19.110, .111, .112
# SSH configuration
ssh_user = "debian"
ssh_public_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHLyVSEEAEbGZZqwPwEup0XrlTpu3x3iF9ExvvQPA4xN graham@mcintire.me"