vpn

claranet/vpn/azurerm

Terraform Module HCL AZURERM

Terraform module for Azure VPN stack (Gateway, Route table)

Install
module "vpn" {
source = "claranet/vpn/azurerm"
version = "8.4.3"
}
plain text: /constructs/tfmod-claranet-vpn-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure VPN Gateway ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/vpn/azurerm/) 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.

Inputs (36)
NameTypeDescriptionDefault
logs_destinations_idslist(string)List of destination resources IDs for logs diagnostic destination. Can be `Stora required
location_shortstringShort string for Azure location. required
environmentstringProject environment. required
resource_group_namestringName of the resource group. required
locationstringAzure region to use. required
client_namestringClient name/account used in naming. required
virtual_network_namestringVirtual Network Name where the dedicated VPN subnet and Gateway will be created. required
stackstringProject stack name. required
name_suffixstringOptional suffix for the generated name.""
public_ip_skustringThe SKU of the public IP. Accepted values are `Basic` and `Standard`."Standard"
active_activeboolIf true, an active-active Virtual Network Gateway will be created. An active-actfalse
public_ip_allocation_methodstringDefines the allocation method for this IP address. Possible values are `Static` "Static"
subnet_cidrstringCIDR range for the dedicated Gateway subnet. Must be a range available in the VNnull
ipconfig_custom_nameslist(string)List of VPN GW IP Config resource custom name. One per IP on the gateway.[]
public_ip_custom_nameslist(string)List of VPN GW Public IP resource custom name. One per IP on the gateway.[]
default_tags_enabledboolOption to enable or disable default tags.true
diagnostic_settings_custom_namestringCustom name of the diagnostics settings, name will be `default` if not set."default"
name_prefixstringOptional prefix for the generated name.""
typestringThe type of the Virtual Network Gateway. Valid options are `Vpn` or `ExpressRout"Vpn"
gateway_generationstringConfiguration of the generation of the Virtual Network Gateway. Valid options ar"Generation2"
vpn_connectionslist(object({ name =List of VPN connection configurations.[]
nat_rulesmap(object({ external_mappMap of NAT rules to apply to the VPN Gateway. For dynamic NAT rules, if `ip_conf{}
extra_tagsmap(string)Additional tags to associate with your VPN Gateway.{}
public_ip_countnumberNumber of Public IPs to allocate and associated to the Gateway. By default only 1
vpn_client_configurationobject({ address_space = VPN client configuration authorizations.null
custom_namestringCustom VPN Gateway name, generated if not set.""
public_ip_zoneslist(number)Public IP zones to configure.[ 1, 2, 3 ]
bgp_enabledboolIf true, BGP (Border Gateway Protocol) will be enabled for this Virtual Network false
Outputs (12)
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.
Resources (6)
azurerm_local_network_gatewayazurerm_public_ipazurerm_virtual_network_gatewayazurerm_virtual_network_gateway_connectionazurerm_virtual_network_gateway_nat_rulerandom_password
Details
FrameworkTerraform Module
LanguageHCL
Version8.4.3
Cloud AZURERM
★ Stars0
Forks7
Total downloads23.8k
Inputs36
Outputs12
Resources6
Examples1
LicenseApache-2.0
Namespaceclaranet
Updated