equinix_fabric_route_filter_rule (Data Source)
Fabric V4 API compatible data resource that allow user to fetch route filter for a given UUID
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
data "equinix_fabric_route_filter_rule" "rf_rule" {
route_filter_id = "<route_filter_policy_id>"
uuid = "<route_filter_rule_uuid>"
}
output "route_filter_rule_name" {
value = data.equinix_fabric_route_filter_rule.rf_rule.name
}
output "route_filter_rule_description" {
value = data.equinix_fabric_route_filter_rule.rf_rule.description
}
output "route_filter_rule_prefix" {
value = data.equinix_fabric_route_filter_rule.rf_rule.prefix
}
output "route_filter_rule_prefix_match" {
value = data.equinix_fabric_route_filter_rule.rf_rule.prefix_match
}
Schema
Required
route_filter_id(String) UUID of the Route Filter Policy the rule is attached touuid(String) Equinix Assigned ID for Route Filter Rule to retrieve data for
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)description(String) Optional description to add to the Route Filter you will be creatinghref(String) Route filter rules URIid(String) The ID of this resource.name(String) Name of the Route Filterprefix(String) IP Address Prefix to Filter onprefix_match(String) Prefix matching operator. One of [ orlonger, exact ] Default: "orlonger"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 ]
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)