mirror of
https://github.com/netbirdio/terraform-provider-netbird.git
synced 2026-05-22 17:13:16 -07:00
* fix: change groups attribute type from ListAttribute to SetAttribute * fix: update type of groups in network_resource.md from List to Set
1.2 KiB
1.2 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| netbird_network_resource Data Source - netbird | Read Network Resource settings and metadata, see NetBird Docs https://docs.netbird.io/how-to/networks#resources for more information. |
netbird_network_resource (Data Source)
Read Network Resource settings and metadata, see NetBird Docs for more information.
Example Usage
data "netbird_network" "example" {
name = "TF Test"
}
data "netbird_network_resource" "example" {
network_id = netbird_network.example.id
name = "TF Test"
}
Schema
Required
network_id(String) The unique identifier of a network
Optional
id(String) The unique identifier of a resourcename(String) NetworkResource Name
Read-Only
address(String) Network resource address (either a direct host like 1.1.1.1 or 1.1.1.1/32, or a subnet like 192.168.178.0/24, or domains like example.com and *.example.com)description(String) NetworkResource Descriptionenabled(Boolean) NetworkResource statusgroups(Set of String) Group IDs containing the resource