» Data Source: azurerm_route_filter

Use this data source to access information about an existing Route Filter.

» Example Usage

data "azurerm_route_filter" "example" {
  name                = "existing"
  resource_group_name = "existing"

output "id" {
  value = data.azurerm_route_filter.example.id

» Arguments Reference

The following arguments are supported:

  • name - (Required) The Name of this Route Filter.

  • resource_group_name - (Required) The name of the Resource Group where the Route Filter exists.

» Attributes Reference

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

  • id - The ID of the Route Filter.

  • location - The Azure Region where the Route Filter exists.

  • rule - A rule block as defined below.

  • tags - A mapping of tags assigned to the Route Filter.

A rule block exports the following:

  • access - The access type of the rule

  • communities - The collection for bgp community values.

  • name - The Name of Route Filter Rule

  • rule_type - The Route Filter Rule Type.

» Timeouts

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

  • read - (Defaults to 5 minutes) Used when retrieving the Route Filter.