-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbridging.tf
More file actions
30 lines (27 loc) · 871 Bytes
/
bridging.tf
File metadata and controls
30 lines (27 loc) · 871 Bytes
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
29
30
#
# Uncomment the lines below
#
# module "bridgenet" {
# source = "zerotier/network/zerotier"
# version = "~> 1.0"
# name = "bridgenet"
# description = "bridging example"
# subnets = ["10.10.0.0/16"]
# flow_rules = "accept;"
# }
# resource "zerotier_member" "router1" {
# name = "router1"
# member_id = "71c71c71c1"
# description = "Alice's router"
# ip_assignments = ["10.10.1.1"]
# allow_ethernet_bridging = true
# network_id = module.bridgenet.id
# }
# resource "zerotier_member" "router2" {
# name = "router2"
# member_id = "71c71c71c2"
# description = "Bob's router"
# ip_assignments = ["10.10.2.1"]
# allow_ethernet_bridging = true
# network_id = module.bridgenet.id
# }