vpn
claranet/vpn/azurerm
Terraform module for Azure VPN stack (Gateway, Route table)
Azure VPN Gateway     This feature creates an Azure VPN Gateway with its own dedicated Subnet, public IP, and the connections resources. Gateway SKU list description is available on Microsoft documentation. Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------- | ---------------- | --------------- | | >= 8.x.x | Unverified | 1.8.x | >= 4.0 | | >= 7.x.x | 1.3.x | | >= 3.0 | | >= 6.x.x | 1.x | | >= 3.0 | | >= 5.x.x | 0.15.x | | >= 2.0 | | >= 4.x.x | 0.13.x / 0.14.x | | >= 2.0 | | >= 3.x.x | 0.12.x | | >= 2.0 | | >= 2.x.x | 0.12.x | | < 2.
| Name | Type | Description | Default |
|---|---|---|---|
| logs_destinations_ids | list(string) | List of destination resources IDs for logs diagnostic destination. Can be `Stora | required |
| location_short | string | Short string for Azure location. | required |
| environment | string | Project environment. | required |
| resource_group_name | string | Name of the resource group. | required |
| location | string | Azure region to use. | required |
| client_name | string | Client name/account used in naming. | required |
| virtual_network_name | string | Virtual Network Name where the dedicated VPN subnet and Gateway will be created. | required |
| stack | string | Project stack name. | required |
| name_suffix | string | Optional suffix for the generated name. | "" |
| public_ip_sku | string | The SKU of the public IP. Accepted values are `Basic` and `Standard`. | "Standard" |
| active_active | bool | If true, an active-active Virtual Network Gateway will be created. An active-act | false |
| public_ip_allocation_method | string | Defines the allocation method for this IP address. Possible values are `Static` | "Static" |
| subnet_cidr | string | CIDR range for the dedicated Gateway subnet. Must be a range available in the VN | null |
| ipconfig_custom_names | list(string) | List of VPN GW IP Config resource custom name. One per IP on the gateway. | [] |
| public_ip_custom_names | list(string) | List of VPN GW Public IP resource custom name. One per IP on the gateway. | [] |
| default_tags_enabled | bool | Option to enable or disable default tags. | true |
| diagnostic_settings_custom_name | string | Custom name of the diagnostics settings, name will be `default` if not set. | "default" |
| name_prefix | string | Optional prefix for the generated name. | "" |
| type | string | The type of the Virtual Network Gateway. Valid options are `Vpn` or `ExpressRout | "Vpn" |
| gateway_generation | string | Configuration of the generation of the Virtual Network Gateway. Valid options ar | "Generation2" |
| vpn_connections | list(object({ name = | List of VPN connection configurations. | [] |
| nat_rules | map(object({ external_mapp | Map of NAT rules to apply to the VPN Gateway. For dynamic NAT rules, if `ip_conf | {} |
| extra_tags | map(string) | Additional tags to associate with your VPN Gateway. | {} |
| public_ip_count | number | Number of Public IPs to allocate and associated to the Gateway. By default only | 1 |
| vpn_client_configuration | object({ address_space = | VPN client configuration authorizations. | null |
| custom_name | string | Custom VPN Gateway name, generated if not set. | "" |
| public_ip_zones | list(number) | Public IP zones to configure. | [
1,
2,
3
] |
| bgp_enabled | bool | If true, BGP (Border Gateway Protocol) will be enabled for this Virtual Network | false |
public_ip_adresses — Azure VPN Gateway public IPs.resource_public_ip — Azure VPN Gateway Public IP resource object.local_gateway_names — Azure VNET local Gateway names.local_gateway_ids — Azure VNET local Gateway IDs.id — VPN Gateway ID.module_diagnostics — Diagnostics settings module outputs.vpn_connection_ids — The VPN created connections IDs.shared_keys — Shared Keys used for VPN connections.resource — VPN Gateway resource object.name — VPN Gateway name.subnet_id — Dedicated subnet ID for the GW.public_ip_name — Azure VPN Gateway public IP resource name.Azure 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,