-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzerotier-networking.tf
28 lines (24 loc) · 1.01 KB
/
zerotier-networking.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module "zerotier_network_foundations" {
source = "./modules/zerotier-network"
name_subname = "foundations"
name_parent_domain = desec_domain.infra.name
zerotier_description = "Control plane for the foundations of sargassum.world"
zerotier_ipv6_sixplane = true
zerotier_ipv6_rfc4193 = false
zerotier_flow_rules = file("${path.module}/zerotier-networking-foundations.flowrules")
zerotier_routed_ipv4_cidr = "10.144.64.0/24"
service_reverse_proxies_ipv4 = setunion(
module.orchestrator_gcp_us_west1_a_1.zerotier_ipv4,
module.worker_gcp_us_west1_a_2.zerotier_ipv4,
)
service_reverse_proxies_ipv6 = setunion(
module.orchestrator_gcp_us_west1_a_1.zerotier_ipv6,
module.worker_gcp_us_west1_a_2.zerotier_ipv6,
)
service_device_subnames = [
module.orchestrator_gcp_us_west1_a_1.dns_zerotier_subname,
module.worker_gcp_us_west1_a_2.dns_zerotier_subname,
]
acme_account_key = acme_registration.main.account_key_pem
acme_desec_api_token = var.desec_api_token
}