FEATURES PRICING ABOUT DOCS LOGIN

azurerm_route_table

Creates a new Route Table Resource

Example Usage

resource "azurerm_resource_group" "test" {
    name = "acceptanceTestResourceGroup1"
    location = "West US"
}

resource "azurerm_route_table" "test" {
    name = "acceptanceTestSecurityGroup1"
    location = "West US"
    resource_group_name = "${azurerm_resource_group.test.name}"

    route {
    	name = "route1"
    	address_prefix = "*"
    	next_hop_type = "internet"
    }
    
    tags {
        environment = "Production"
    }
}

Argument Reference

The following arguments are supported:

The route block supports:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io

REQUEST A DEMO