vpn
avinor/vpn/azurerm
Create an Azure Virtual Network Gateway and configure it for S2S and optionally P2S connectivity
Azure VPN Deployes a virtual network gateway in Azure as Vpn, does not support Expressroute setup. Since the vpn has to be deployed in same resource group as the virtual network it will not create any resource groups (and also not try to delete resource group if destroying vpn module). Vpn can be configured in active-active mode with optional point-to-site configuration activated. Usage Deploying a vpn without any local connections is possible, but for a more complete example see examples/local_networks. Example uses tau and a key vault data source to retrieve the shared_key. ``terraform data "azurerm_key_vault_secret" "shared_key" { name = "vpn_shared_key" key_vault_id = "KEYVAULT_ID" } module { source = "avinor/vpn/azurerm" version = "1.1.0" } inputs { name = "vpn" resource_group_name =
| Name | Type | Description | Default |
|---|---|---|---|
| resource_group_name | string | Name of resource group to deploy resources in. | required |
| client_configuration | object({ address_space = strin | If set it will activate point-to-site configuration. | required |
| log_analytics_workspace_id | string | Specifies the ID of a Log Analytics Workspace where Diagnostics Data should be s | required |
| name | string | Name of virtual gateway. | required |
| location | string | The Azure Region in which to create resource. | required |
| subnet_id | string | Id of subnet where gateway should be deployed, have to be names GatewaySubnet. | required |
| sku | string | Configuration of the size and capacity of the virtual network gateway. | required |
| tags | map(string) | Tags to apply to all resources created. | {} |
| enable_bgp | bool | If true, BGP (Border Gateway Protocol) will be enabled for this Virtual Network | false |
| active_active | bool | If true, an active-active Virtual Network Gateway will be created. An active-act | false |
| local_networks | list(object({ name = string, g | List of local virtual network connections to connect to gateway. | [] |
gateway_id — The ID of the virtual network gateway.fqdns — List of the fqdn for gateway. Will return 2 for active_active mode and 1 otherwiseAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,