equinix_fabric_route_filter (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-Filters
Example Usage
data "equinix_fabric_route_filter" "rf_policy" {
uuid = "<uuid_of_route_filter"
}
output "id" {
value = data.equinix_fabric_route_filter.rf_policy.id
}
output "type" {
value = data.equinix_fabric_route_filter.rf_policy.type
}
output "state" {
value = data.equinix_fabric_route_filter.rf_policy.state
}
output "not_matched_rules_action" {
value = data.equinix_fabric_route_filter.rf_policy.not_matched_rule_action
}
output "connections_count" {
value = data.equinix_fabric_route_filter.rf_policy.connections_count
}
output "rules_count" {
value = data.equinix_fabric_route_filter.rf_policy.rules_count
}
Schema
Required
uuid(String) Equinix Assigned ID for Route Filter
Read-Only
change(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)connections_count(Number) The number of Fabric Connections that this Route Filter is attached todescription(String) Optional description to add to the Route Filter you will be creatinghref(String) Route filter URIid(String) The ID of this resource.name(String) Name of the Route Filternot_matched_rule_action(String) The action that will be taken on ip ranges that don't match the rules present within the Route Filterproject(Set of Object) The Project object that contains project_id and href that is related to the Fabric Project containing connections the Route Filter can be attached to (see below for nested schema)rules_count(Number) The number of Route Filter Rules attached to this Route Filterstate(String) State of the Route Filter in its lifecycletype(String) Route Filter Type. One of [ "BGP_IPv4_PREFIX_FILTER", "BGP_IPv6_PREFIX_FILTER" ]
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)
Nested Schema for project
Read-Only:
href(String)project_id(String)