Skip to content

fjdev/terraform-azurerm-point-to-site-vpn-gateway

Repository files navigation

Requirements

No requirements.

Providers

Name Version
azurerm n/a

Modules

Name Source Version
resource_group github.com/fjdev/terraform-azurerm-resource-group n/a

Resources

Name Type
azurerm_point_to_site_vpn_gateway.p2s_vpng resource
azurerm_vpn_server_configuration.vpnsc resource

Inputs

Name Description Type Default Required
connection_configuration (Required) A connection_configuration block as defined below.
object({
name = string
vpn_client_address_pool = object({
address_prefixes = list(string)
})
route = optional(object({
associated_route_table_id = string
inbound_route_map_id = string
outbound_route_map_id = string
propagated_route_table = optional(object({
ids = list(string)
labels = optional(list(string))
}))
}))
internet_security_enabled = optional(bool)
})
n/a yes
deploy_resource_group (Optional) Specifies whether to deploy the resource group or not. Defaults to true. bool true no
dns_servers (Optional) A list of IP Addresses of DNS Servers for the Point-to-Site VPN Gateway. list(string) null no
location (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. string n/a yes
managed_by (Optional) The ID of the resource or application that manages this Resource Group. string null no
name (Required) Specifies the name of the Point-to-Site VPN Gateway. Changing this forces a new resource to be created. string n/a yes
resource_group_name (Required) The name of the resource group in which to create the Point-to-Site VPN Gateway. Changing this forces a new resource to be created. string n/a yes
routing_preference_internet_enabled (Optional) Is the Routing Preference for the Public IP Interface of the VPN Gateway enabled? Defaults to false. Changing this forces a new resource to be created. bool false no
scale_unit (Required) The Scale Unit for this Point-to-Site VPN Gateway. number n/a yes
tags (Optional) A mapping of tags to assign to the Point-to-Site VPN Gateway. any null no
virtual_hub_id (Required) The ID of the Virtual Hub where this Point-to-Site VPN Gateway should exist. Changing this forces a new resource to be created. string n/a yes
vpn_server_configuration (Required) A vpn_server_configuration block as defined below.
object({
name = string
vpn_authentication_types = string
ipsec_policy = optional(object({
dh_group = string
ike_encryption = string
ike_integrity = string
ipsec_encryption = string
ipsec_integrity = string
pfs_group = string
sa_lifetime_seconds = number
sa_data_size_kilobytes = number
}))
vpn_protocols = optional(list(string))
azure_active_directory_authentication = optional(object({
audience = string
issuer = string
tenant = string
}))
client_root_certificate = optional(map(object({
public_cert_data = string
})))
client_revoked_certificate = optional(map(object({
thumbprint = string
})))
radius = optional(object({
server = map(object({
address = string
secret = string
score = number
}))
client_root_certificate = optional(map(object({
thumbprint = string
})))
server_root_certificate = optional(map(object({
public_cert_data = string
})))
}))
})
n/a yes

Outputs

Name Description
id The ID of the Point-to-Site VPN Gateway.