Skip to content

sironite/terraform-azurerm-vpn_site

Repository files navigation

VPN Site

Changelog Notice Apache V2 License TF Registry

Usage - Module

VPN Site

module "vpn_site" {
  source  = "sironite/vpn_site/azurerm"
  version = "X.X.X"

  vpn_site_name       = "example-vpn-site"
  resource_group_name = "example-resource-group"
  location            = "example-location"
  virtual_wan_id      = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-resource-group/providers/Microsoft.Network/virtualWans/example-virtual-wan"
  address_cidrs       = "XX.XX.XX.XX/XX"
  device_model        = "example-device-model"
  device_vendor       = "example-device-vendor"

  enable_link = "true"
  link_name   = "example-link"

  ip_address    = "XX.XX.XX.XX"
  provider_name = "example-provider-name"
  speed_in_mbps = "example-speed-in-mbps"

}

Providers

Name Version
azurerm >= 2.0.0

Modules

No modules.

Resources

Name Type
azurerm_vpn_site.this resource

Inputs

Name Description Type Required
device_model Model of the VPN site device. string yes
device_vendor Vendor of the VPN site device. string yes
location Location/region where the VPN site is deployed. string yes
resource_group_name Name of the resource group where the VPN site is created. string yes
virtual_wan_id ID of the virtual WAN associated with the VPN site. string yes
vpn_site_name Name of the VPN site. string yes
address_cidrs List of CIDR blocks representing the address ranges for the VPN site. list(string) no
allow_endpoint_enabled Flag to enable O365 policy - Allow Endpoint. bool no
default_endpoint_enabled Flag to enable O365 policy - Default Endpoint. bool no
enable_o365_policy Flag to enable O365 policy for the VPN site. bool no
links List of links
list(object({
name = string
ip_address = string
provider_name = string
speed_in_mbps = number
bgp_asn = number
bgp_peering_address = string
}))
no
optimize_endpoint_enabled Flag to enable O365 policy - Optimize Endpoint. bool no
tags Tags to associate with the VPN site resource. map(string) no

Outputs

Name Description
address_cidrs List of CIDR blocks representing the address ranges for the VPN site.
allow_endpoint_enabled Flag indicating if O365 policy - Allow Endpoint is enabled.
default_endpoint_enabled Flag indicating if O365 policy - Default Endpoint is enabled.
device_model Model of the VPN site device.
device_vendor Vendor of the VPN site device.
links List of link configurations for the VPN site.
location Location/region where the VPN site is deployed.
o365_policy_enabled Flag indicating if O365 policy is enabled for the VPN site.
optimize_endpoint_enabled Flag indicating if O365 policy - Optimize Endpoint is enabled.
resource_group_name Name of the resource group where the VPN site is created.
tags Tags associated with the VPN site resource.
virtual_wan_id ID of the virtual WAN associated with the VPN site.
vpn_site_name Name of the VPN site.

Related documentation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages