github.com/andresvia/terraform@v0.6.15-0.20160412045437-d51c75946785/website/source/docs/providers/azurerm/r/local_network_gateway.html.markdown (about) 1 --- 2 layout: "azurerm" 3 page_title: "Azure Resource Manager: azurerm_local_network_gateway" 4 sidebar_current: "docs-azurerm-resource-local-network-gateway" 5 description: |- 6 Creates a new local network gateway connection over which specific connections can be configured. 7 --- 8 9 # azurerm\_local\_network\_gateway 10 11 Creates a new local network gateway connection over which specific connections can be configured. 12 13 ## Example Usage 14 15 ``` 16 resource "azurerm_local_network_gateway" "home" { 17 name = "backHome" 18 resource_group_name = "${azurerm_resource_group.test.name}" 19 location = "${azurerm_resource_group.test.location}" 20 gateway_address = "12.13.14.15" 21 address_space = ["10.0.0.0/16"] 22 } 23 ``` 24 25 ## Argument Reference 26 27 The following arguments are supported: 28 29 * `name` - (Required) The name of the local network gateway. Changing this 30 forces a new resource to be created. 31 32 * `resource_group_name` - (Required) The name of the resource group in which to 33 create the local network gateway. 34 35 * `location` - (Required) The location/region where the local network gatway is 36 created. Changing this forces a new resource to be created. 37 38 * `gateway_address` - (Required) The IP address of the gatway to which to 39 connect. 40 41 * `address_space` - (Required) The list of string CIDRs representing the 42 addredss spaces the gateway exposes. 43 44 ## Attributes Reference 45 46 The following attributes are exported: 47 48 * `id` - The local network gateway unique ID within Azure.