mirror of
https://github.com/netbirdio/terraform-provider-netbird.git
synced 2026-05-22 17:13:16 -07:00
- Added SCIM resource and data source for managing SCIM integration settings - Added Identity Provider resource and data source for managing IdP configurations - Enhanced Account Settings with new configuration options - Added authorized_groups support for SSH policy rules - Added skip_auto_apply option for exit node routes - Updated REST client to latest version - Replaced mock-jwt-provider with embedded IdP in test infrastructure
2.0 KiB
2.0 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| netbird_route Data Source - netbird | Read Route metadata and associated resources and peers, see NetBird Docs https://docs.netbird.io/how-to/manage-network-access#routes for more information. |
netbird_route (Data Source)
Read Route metadata and associated resources and peers, see NetBird Docs for more information.
Example Usage
# Retrieve route by network_id
data "netbird_route" "example_a" {
network_id = "TF Test"
}
# Retrieve route by ID
data "netbird_route" "example_b" {
id = "cvikdf3l0ubs73asl4r0"
}
Schema
Optional
id(String) Route IDnetwork_id(String) Route network identifier, to group HA routes
Read-Only
access_control_groups(List of String) Access control group identifier associated with route.description(String) Route descriptiondomains(List of String) Domain list to be dynamically resolved. Max of 32 domains can be added per route configuration. Conflicts with networkenabled(Boolean) Route statusgroups(List of String) Group IDs containing routing peerskeep_route(Boolean) Indicate if the route should be kept after a domain doesn't resolve that IP anymoremasquerade(Boolean) Indicate if peer should masquerade traffic to this route's prefixmetric(Number) Route metric number. Lowest number has higher prioritynetwork(String) Network range in CIDR format, Conflicts with domainsnetwork_type(String)peer(String) Peer Identifier associated with route. This property can not be set together with peer_groupspeer_groups(List of String) Peers Group Identifier associated with route. This property can not be set together with peerskip_auto_apply(Boolean) Indicate if this exit node route (0.0.0.0/0) should skip auto-application for client routing