avm-ptn-vnetgateway
Azure/avm-ptn-vnetgateway/azurerm
Terraform Azure Verified Pattern Module for Virtual Network Gateway
Install
README
DEPRECATION NOTICE This module is deprecated and will no longer receive updates. The code for this module has been migrated a the submodule avm-ptn-alz-connectivity-hub-and-spoke-vnet/virtual-network-gateway. We recommend referencing the avm-ptn-alz-connectivity-hub-and-spoke-vnet module for future deployments. terraform-azurerm-avm-ptn-vnetgateway   This module is designed to deploy an Azure Virtual Network Gateway and several auxillary resources associated to it. Features - Virtual Network Gateway
Inputs (37)
| Name | Type | Description | Default |
|---|---|---|---|
| parent_id | string | The id of the resource group in which to create the Virtual Network Gateway and | required |
| name | string | The name of the Virtual Network Gateway. | required |
| location | string | The Azure region where the resources will be deployed. | required |
| route_table_resource_group_name | string | The name of the resource group in which to create the Route Table. If left blank | null |
| vpn_bgp_settings | object({ asn = opt | BGP settings for the Virtual Network Gateway. | null |
| express_route_circuits | map(object({ id = string | Map of Virtual Network Gateway Connections and Peering Configurations to create | {} |
| local_network_gateways | map(object({ id | Map of Local Network Gateways and Virtual Network Gateway Connections to create | {} |
| route_table_creation_enabled | bool | Whether or not to create a Route Table associated with the Virtual Network Gatew | false |
| vpn_ip_sec_replay_protection_enabled | bool | Enable IPsec replay protection for the Virtual Network Gateway. | true |
| enable_telemetry | bool | This variable controls whether or not telemetry is enabled for the module. For m | true |
| ip_configurations | map(object({ name | Map of IP Configurations to create for the Virtual Network Gateway. - `name` - | {} |
| route_table_tags | map(string) | Tags for the Route Table. | {} |
| tags | map(string) | Tags to apply to the Virtual Network Gateway. | null |
| vpn_generation | string | value for the Generation for the Gateway, Valid values are 'Generation1', 'Gener | null |
| vpn_private_ip_address_enabled | bool | Enable private IP address for the Virtual Network Gateway for Virtual Network Ga | null |
| express_route_remote_vnet_traffic_enabled | bool | Enabled ExpressRoute traffic incoming from other connected VNets | false |
| express_route_virtual_wan_traffic_enabled | bool | Enabled ExpressRoute traffic incoming from other connected VWANs | false |
| route_table_bgp_route_propagation_enabled | bool | Whether or not to enable BGP route propagation on the Route Table. | true |
| vpn_custom_route | object({ address_prefixes | The reference to the address space resource which represents the custom routes a | null |
| vpn_point_to_site | object({ address_space | Point to site configuration for the virtual network gateway. - `address_space` | null |
| hosted_on_behalf_of_public_ip_enabled | bool | Whether or not to attach a Public IP Address for the Virtual Network Gateway. Ex | false |
| subnet_creation_enabled | bool | Whether or not to create a subnet for the Virtual Network Gateway. | true |
| type | string | The type of the Virtual Network Gateway, ExpressRoute or Vpn. | "ExpressRoute" |
Outputs (7)
public_ip_addresses — A curated output of the Public IP Addresses created by this module.resource_id — The ID of the Virtual Network Gateway.route_table — A curated output of the Route Table created by this module.subnet — A curated output of the GatewaySubnet created by this module.virtual_network_gateway — A curated output of the Virtual Network Gateway created by this module.virtual_network_gateway_connections — A curated output of the Virtual Network Gateway Connections created by this module.local_network_gateways — A curated output of the Local Network Gateways created by this module.