github.com/hobbeswalsh/terraform@v0.3.7-0.20150619183303-ad17cf55a0fa/website/source/docs/providers/azure/r/local_network_connection.html.markdown (about) 1 --- 2 layout: "azure" 3 page_title: "Azure: azure_local_network_connection" 4 sidebar_current: "docs-azure-resource-local-network-connection" 5 description: |- 6 Defines a new connection to a remote network throguh a VPN tunnel. 7 --- 8 9 # azure\_local\_network\_connection 10 11 Defines a new connection to a remote network throguh a VPN tunnel. 12 13 ## Example Usage 14 15 ``` 16 resource "azure_local_network_connection" "localnet" { 17 name = "terraform-local-network-connection" 18 vpn_gateway_address = "45.12.189.2" 19 address_space_prefixes = ["10.10.10.0/24", "10.10.11.0/24"] 20 } 21 ``` 22 23 ## Argument Reference 24 25 The following arguments are supported: 26 27 * `name` - (Required) The name by which this local network connection will 28 be referenced by. Changing this forces a new resource to be created. 29 30 * `vpn_gateway_address` - (Required) The public IPv4 of the VPN endpoint. 31 32 * `address_space_prefixes` - (Required) List of address spaces accessible 33 through the VPN connection. The elements are in the CIDR format. 34 35 ## Attributes Reference 36 37 The following attributes are exported: 38 39 * `id` - The local network connection ID.