Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/data-sources/network_resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ data "netbird_network_resource" "example" {
- `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 Description
- `enabled` (Boolean) NetworkResource status
- `groups` (List of String) Group IDs containing the resource
- `groups` (Set of String) Group IDs containing the resource
2 changes: 1 addition & 1 deletion internal/provider/network_resource_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (d *NetworkResourceDataSource) Schema(ctx context.Context, req datasource.S
MarkdownDescription: "NetworkResource status",
Computed: true,
},
"groups": schema.ListAttribute{
"groups": schema.SetAttribute{
MarkdownDescription: "Group IDs containing the resource",
Computed: true,
ElementType: types.StringType,
Expand Down