NOTE: The Azure Service Management Provider has been superseded by the Azure Resource Manager Provider and is no longer being actively developed by HashiCorp employees. It continues to be supported by the community. We recommend using the Azure Resource Manager based Microsoft Azure Provider if possible.
Defines a new connection to a remote network through a VPN tunnel.
resource "azure_local_network_connection" "localnet" { name = "terraform-local-network-connection" vpn_gateway_address = "45.12.189.2" address_space_prefixes = ["10.10.10.0/24", "10.10.11.0/24"] }
The following arguments are supported:
name
- (Required) The name by which this local network connection will be referenced by. Changing this forces a new resource to be created.
vpn_gateway_address
- (Required) The public IPv4 of the VPN endpoint.
address_space_prefixes
- (Required) List of address spaces accessible through the VPN connection. The elements are in the CIDR format.
The following attributes are exported:
id
- The local network connection ID.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/azure/r/local_network_connection.html