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: https://docs.equinix.com/fabric-cloud-router/bgp/fcr-route-filters/
- API: https://docs.equinix.com/api-catalog/fabricv4/#tag/Route-Filter-Rules
Example Usage
resource "equinix_fabric_route_filter_rule" "rf_rule" {
route_filter_id = "<route_filter_policy_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
Required
prefix(String) IP Address Prefix to Filter onroute_filter_id(String) UUID of the Route Filter Policy to apply this Rule to
Optional
description(String) Optional description to add to the Route Filter you will be creatingname(String) Name of the Route Filterprefix_match(String) Prefix matching operator. One of [ orlonger, exact ] Default: "orlonger"timeouts(Block, Optional) (see below for nested schema)
Read-Only
action(String) Action that will be taken on IP Addresses matching the rulechange(Set of Object) An object with the details of the previous change applied on the Route Filter (see below for nested schema)change_log(Set of Object) (see below for nested schema)href(String) Route filter rules URIid(String) The ID of this resource.state(String) State of the Route Filter Rule in its lifecycletype(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
Optional:
create(String)delete(String)read(String)update(String)
Nested Schema for change
Read-Only:
href(String)type(String)uuid(String)
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)