mirror of
https://github.com/netbirdio/terraform-provider-netbird.git
synced 2026-05-22 17:13:16 -07:00
1.3 KiB
1.3 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| netbird_network_router Data Source - netbird | Read Network Router settings and metadata, see NetBird Docs https://docs.netbird.io/how-to/networks#routing-peers for more information. |
netbird_network_router (Data Source)
Read Network Router settings and metadata, see NetBird Docs for more information.
Example Usage
data "netbird_network" "example" {
name = "TF Test"
}
resource "netbird_network_router" "example" {
id = "cvr9ic3l0ubs73c11gs0"
network_id = netbird_network.example.id
}
Schema
Required
id(String) The unique identifier of a routernetwork_id(String) The unique identifier of a network
Read-Only
enabled(Boolean) Network router statusmasquerade(Boolean) Indicate if peer should masquerade traffic to this route's prefixmetric(Number) Route metric number. Lowest number has higher prioritypeer(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 peer