obmp-portability-test/terraform/terraform.tfvars.example

54 lines
2.4 KiB
Plaintext
Raw Normal View History

############################################################################
# Copy this file to terraform.tfvars and fill in the marked values.
# terraform.tfvars is gitignored.
#
# You can also set the two most sensitive values via environment variables
# (recommended for shared workstations):
# export TF_VAR_pve_endpoint="https://pve.lab.example:8006/"
# export TF_VAR_pve_api_token="USER@REALM!TOKENID=UUID"
# When set in env, leave the tfvars values blank or delete those lines.
############################################################################
# --- Proxmox connection --------------------------------------------------
pve_endpoint = "https://<pve-host-or-fqdn>:8006/"
pve_api_token = "<user>@<realm>!<tokenid>=<uuid>"
pve_insecure = true # lab PVE with self-signed cert
pve_ssh_username = "root"
pve_node = "<pve-node-name>" # as shown in the PVE web UI cluster tree
# --- Storage -------------------------------------------------------------
vm_storage_pool = "<local-lvm-or-similar>" # holds VM disks
image_storage = "local" # holds the Ubuntu cloud image
snippet_storage = "local" # holds cloud-init snippet YAML
# --- Network -------------------------------------------------------------
vm_bridge = "vmbr0"
vm_vlan_tag = 0 # 0 = no VLAN
# Static IPs recommended for the test -- run-test.sh needs to SSH to a
# known address, and the collector needs a stable ROUTER_FACING_IP. Set
# both to empty strings ("") to fall back to DHCP.
store_vm_ip_cidr = "10.40.40.220/24"
bmpgen_vm_ip_cidr = "10.40.40.221/24"
vm_gateway = "10.40.40.1"
vm_dns_servers = ["1.1.1.1", "8.8.8.8"]
# --- SSH access ----------------------------------------------------------
ssh_public_key_path = "~/.ssh/id_rsa.pub"
ssh_username = "ubuntu"
# --- obmp-docker under test ---------------------------------------------
# Change obmp_repo_ref to whichever branch/tag/commit you want to test.
# Pin to a specific commit for reproducible test runs.
obmp_repo_url = "http://10.40.40.143:3000/sam/obmp-docker.git"
obmp_repo_ref = "deploy-refinement"
router_facing_port = 1790
# --- Optional overrides -------------------------------------------------
# vm_cpu_cores = 2
# vm_memory_mb = 4096
# vm_disk_gb = 32
# store_vm_id = 9001
# bmpgen_vm_id = 9002
# test_local_asn = 65099