Files
Bethuel MmbagaandGitHub 48a7661c8c Sync provider with latest OpenAPI spec (#117)
- 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
2026-02-20 18:12:11 +03:00

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 ID
  • network_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 description
  • domains (List of String) Domain list to be dynamically resolved. Max of 32 domains can be added per route configuration. Conflicts with network
  • enabled (Boolean) Route status
  • groups (List of String) Group IDs containing routing peers
  • keep_route (Boolean) Indicate if the route should be kept after a domain doesn't resolve that IP anymore
  • masquerade (Boolean) Indicate if peer should masquerade traffic to this route's prefix
  • metric (Number) Route metric number. Lowest number has higher priority
  • network (String) Network range in CIDR format, Conflicts with domains
  • network_type (String)
  • peer (String) Peer Identifier associated with route. This property can not be set together with peer_groups
  • peer_groups (List of String) Peers Group Identifier associated with route. This property can not be set together with peer
  • skip_auto_apply (Boolean) Indicate if this exit node route (0.0.0.0/0) should skip auto-application for client routing