some new setup
This commit is contained in:
34
infrastructure-admin/terraform.tfvars
Normal file
34
infrastructure-admin/terraform.tfvars
Normal file
@@ -0,0 +1,34 @@
|
||||
# --------------------------
|
||||
# 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"
|
||||
Reference in New Issue
Block a user