resource "azurerm_local_network_gateway" "${MyResource}" {
name = "backHome"
resource_group_name = "\${azurerm_resource_group.test.name}"
location = "\${azurerm_resource_group.test.location}"
gateway_address = "12.13.14.15"
address_space = ["10.0.0.0/16"]
}
azurerm_local_network_gateway
The code creates a new AzureRM Local Network Gateway resource in the current resource group. The name of the gateway is backHome and the resource's location is the same as the resource group's location. The gateway_address is set to 12.13.14.15. The address_space is set to include the 10.0.0.0/16 range.
Shortcut: tf_azurerm_local_network_gateway
0 Comments
Add Comment
Log in to add a comment