module "wireguard_topology" { source = "../../modules/wireguard-topology" sites = [ { name = "homelab" public_key = var.homelab_wg_pubkey endpoint = "${var.homelab_wan_ip}:51820" allowed_ips = ["10.100.0.1/32", "172.16.0.0/24", "10.0.1.0/24"] }, { name = "cloud-anchor" public_key = var.cloud_anchor_wg_pubkey endpoint = "${var.cloud_anchor_ip}:51820" allowed_ips = ["10.100.0.2/32"] }, ] output_dir = "${path.module}/output" }