Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example 106 - virtual wan structure #270

Merged
merged 1 commit into from
Nov 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
virtual_hub_connections = {
# Establish the peering with Virtual Hubs
hub_rg1-TO-vnet_rg1 = {
vhub = {
virtual_wan_key = "vwan_re1"
virtual_hub_key = "hub_re1"
virtual_hub = {
key = "hub_re1"
}
vnet = {
# If the virtual network is stored in another another landing zone, use the following attributes to refer the state file:
Expand All @@ -17,9 +16,8 @@ virtual_hub_connections = {
internet_security_enabled = true
}
hub_rg2-TO-vnet_rg2 = {
vhub = {
virtual_wan_key = "vwan_re1"
virtual_hub_key = "hub_re2"
virtual_hub = {
key = "hub_re2"
}
vnet = {
# If the virtual network is stored in another another landing zone, use the following attributes to refer the state file:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
virtual_hubs = {
hub_re1 = {
virtual_wan = {
key = "vwan_re1"
}
resource_group = {
key = "hub_re1"
}
hub_name = "hub-re1"
region = "region1"
hub_address_prefix = "10.0.3.0/24"
deploy_firewall = false
deploy_p2s = false
p2s_config = {}
deploy_s2s = false
s2s_config = {}
deploy_er = false
er_config = {}

}
hub_re2 = {
virtual_wan = {
key = "vwan_re1"
}
resource_group = {
key = "hub_re2"
}
hub_name = "hub-re2"
region = "region2"
hub_address_prefix = "10.0.4.0/24"
deploy_firewall = false
deploy_p2s = false
p2s_config = {}
deploy_s2s = false
s2s_config = {}
deploy_er = false
er_config = {}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,6 @@ virtual_wans = {
name = "contosovWAN-re1"
region = "region1"

hubs = {
hub_re1 = {
hub_name = "hub-re1"
region = "region1"
hub_address_prefix = "10.0.3.0/24"
deploy_firewall = false
deploy_p2s = false
p2s_config = {}
deploy_s2s = false
s2s_config = {}
deploy_er = false
er_config = {}

}
hub_re2 = {
hub_name = "hub-re2"
region = "region2"
hub_address_prefix = "10.0.4.0/24"
deploy_firewall = false
deploy_p2s = false
p2s_config = {}
deploy_s2s = false
s2s_config = {}
deploy_er = false
er_config = {}
}
}
}
}