# equinix\_fabric\_route\_filter\_rule (Resource)
Fabric V4 API compatible resource allows creation and management of Equinix Fabric Route Filter Rule
Additional Documentation:
* Getting Started:
* API:
## Example Usage[](#example-usage "Direct link to Example Usage")
```
resource "equinix_fabric_route_filter_rule" "rf_rule" {
route_filter_id = ""
name = "Route Filter Rule Name"
prefix = "192.168.0.0/24"
prefix_match = "exact"
description = "Route Filter Rule for X Purpose"
}
output "route_filter_rule_id" {
value = equinix_fabric_route_filter_rule.rf_rule.id
}
output "route_filter_id" {
value = equinix_fabric_route_filter_rule.rf_rule.route_filter_id
}
output "route_filter_rule_prefix" {
value = equinix_fabric_route_filter_rule.rf_rule.prefix
}
output "route_filter_rule_prefix_match" {
value = equinix_fabric_route_filter_rule.rf_rule.prefix_match
}
```
## Schema[](#schema "Direct link to Schema")
### Required[](#required "Direct link to Required")
* `prefix` (String) IP Address Prefix to Filter on
* `route_filter_id` (String) UUID of the Route Filter Policy to apply this Rule to
### Optional[](#optional "Direct link to Optional")
* `description` (String) Optional description to add to the Route Filter you will be creating
* `name` (String) Name of the Route Filter
* `prefix_match` (String) Prefix matching operator. One of \[ orlonger, exact ] Default: "orlonger"
* `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only[](#read-only "Direct link to Read-Only")
* `action` (String) Action that will be taken on IP Addresses matching the rule
* `change` (Set of Object) An object with the details of the previous change applied on the Route Filter (see [below for nested schema](#nestedatt--change))
* `change_log` (Set of Object) (see [below for nested schema](#nestedatt--change_log))
* `href` (String) Route filter rules URI
* `id` (String) The ID of this resource.
* `state` (String) State of the Route Filter Rule in its lifecycle
* `type` (String) Route Filter Type. One of \[ BGP\_IPv4\_PREFIX\_FILTER\_RULE, BGP\_IPv6\_PREFIX\_FILTER\_RULE ]
* `uuid` (String) Equinix Assigned ID for Route Filter Rule
[]()
### Nested Schema for `timeouts`[](#nested-schema-for-timeouts "Direct link to nested-schema-for-timeouts")
Optional:
* `create` (String)
* `delete` (String)
* `read` (String)
* `update` (String)
[]()
### Nested Schema for `change`[](#nested-schema-for-change "Direct link to nested-schema-for-change")
Read-Only:
* `href` (String)
* `type` (String)
* `uuid` (String)
[]()
### Nested Schema for `change_log`[](#nested-schema-for-change_log "Direct link to nested-schema-for-change_log")
Read-Only:
* `created_by` (String)
* `created_by_email` (String)
* `created_by_full_name` (String)
* `created_date_time` (String)
* `deleted_by` (String)
* `deleted_by_email` (String)
* `deleted_by_full_name` (String)
* `deleted_date_time` (String)
* `updated_by` (String)
* `updated_by_email` (String)
* `updated_by_full_name` (String)
* `updated_date_time` (String)