Terraform module to create an Azure Virtual WAN.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ravi ac2b340738 fix variables 1 week ago
examples fix variables 1 week ago
.gitignore initial commit 4 months ago
.pre-commit-config.yaml fix variables 1 week ago
CHANGELOG.md fix variables 1 week ago
Jenkinsfile update jenkinsfile & pre-commit & add variable 3 months ago
LICENSE fix reviews 3 months ago
README.md fix variables 1 week ago
main.tf fix 3 months ago
outputs.tf test:debug 3 months ago
variables.tf fix variables 1 week ago
versions.tf Add CHANGELOG.md and update provider 1 month ago

README.md

terraform-module-azurerm-virtual-wan

Usage

See examples folders for usage of this module.

Requirements

Name Version
terraform >= 0.12
azurerm >= 2.0.0

Providers

Name Version
azurerm >= 2.0.0

Inputs

Name Description Type Default Required
address_prefixes Address prefix of the which should be used for the virtual hub. list(string)
[
““
]
no
allow_branch_to_branch_traffic Boolean flag which describes whether to allow branch to branch traffic. bool true no
allow_vnet_to_vnet_traffic Boolean flag which describes whether to allow vnet to vnet traffic. bool false no
disable_vpn_encryption Boolean flag to specify whether to enable or diable the VPN encryption. bool false no
enabled Enable or diable this module bool true no
gateway_locations List of regions where the vpn gateway will be created using this module. list(string)
[
““
]
no
gateway_names List of gateway name that will be created inside this module. list(string)
[
““
]
no
gateway_tags Tags specific to the vpn gateway. map {} no
hub_locations List of regions where the virtual hub will be created using this module. list(string)
[
““
]
no
hub_names List of virtual hub names that will be created. list(string)
[
““
]
no
location Specifies the location of the Virtual WAN. Changing this forces a new resource to be created. string "" no
name Specifies the name of virtual WAN. Changing this forces a new resource to be created. string "" no
office365_local_breakout_category Describes the Offfice365 local breakout category.Possible value are Optimize, OptimizaAndAllow, All, None . string "None" no
resource_group_name Specifies the resource group where the virtual WAN is created. Changing this forces a new resource to be created. string "" no
routes One or more hub route to create. list(list(object({ address_prefixes = list(string), next_hop_ip_address = string })))
[
[]
]
no
tags Tags shared by all resources of this module. Will be merged with any other specific tags by resource map {} no
virtual_hub_tags Tags specific to the virtual Hub. map {} no
vpn_gateway_enabled whether or not to create a vpn gateway bool false no
vpn_gateway_hub_ids ids of the virtaul hub to whcih the vpn gateway is attached. Changing this will force to create new resource. list(string)
[
““
]
no
vpn_gateway_scale_units A list of scale unit for the VPN gateway. list(number)
[
1
]
no
vpn_gateway_settings_bgp_asns Autonomous system number (ASN) of BGP speaker. Changing this forces a new resourceto be created. list(number)
[
0
]
no
vpn_gateway_settings_peer_weights The weight added to Routes learned from this BGP Speaker. Changing this forces a new resource to be created. list(number)
[
0
]
no
wan_tags Tags specific to the virtual WAN. map {} no

Outputs

Name Description
virtual_hub_ids The ids of the Virtual Hub.
vpn_gateway_ids ID of the vpn gateway created.
wan_id ids of the virtual wan.