azurerm_route_filter

Manages a Route Filter.

Example Usage

resource "azurerm_route_filter" "example" {
  name                = "example"
  resource_group_name = "example"
  location            = "East US"

  rule {
    name        = "rule"
    access      = "Allow"
    rule_type   = "Community"
    communities = ["12076:52004"]
  }
}

Arguments Reference

The following arguments are supported:



A rule block supports the following:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

Route Filters can be imported using the resource id, e.g.

terraform import azurerm_route_filter.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/routeFilters/routeFilter1