-
Notifications
You must be signed in to change notification settings - Fork 1
/
vwan.tf
26 lines (23 loc) · 1.02 KB
/
vwan.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
resource "azurerm_virtual_wan" "vwan" {
name = "ussc-core-vwan1"
resource_group_name = azurerm_resource_group.rg-vwan.name
location = azurerm_resource_group.rg-vwan.location
disable_vpn_encryption = false
allow_branch_to_branch_traffic = true
type = "Standard"
tags = merge(local.settings.common_tags, local.settings.core_tags)
}
resource "azurerm_virtual_hub" "vwan-euw-hub1" {
name = "euw-core-vwan1-hub"
resource_group_name = azurerm_resource_group.rg-vwan.name
location = "westeurope"
virtual_wan_id = azurerm_virtual_wan.vwan.id
address_prefix = "172.16.1.0/24"
}
resource "azurerm_virtual_hub" "vwan-ussc-hub2" {
name = "ussc-core-vwan1-hub"
resource_group_name = azurerm_resource_group.rg-vwan.name
location = "southcentralus"
virtual_wan_id = azurerm_virtual_wan.vwan.id
address_prefix = "172.16.2.0/24"
}