Go-based network automation with YANG models, gRPC, Ansible, Terraform, and Kubernetes integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
524 B
HCL
20 lines
524 B
HCL
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"
|
|
}
|