Files

1.1 KiB

page_title, subcategory, description
page_title subcategory description
netbird_group Resource - netbird Create and assign Groups, see NetBird Docs https://docs.netbird.io/how-to/manage-network-access#groups for more information.

netbird_group (Resource)

Create and assign Groups, see NetBird Docs for more information.

Example Usage

data "netbird_peer" "example" {
  ip = "1.2.3.4"
}

resource "netbird_group" "example" {
  name = "TF Test"
  peers = [
    data.netbird_peer.example.id,
  ]
}

Schema

Required

  • name (String) Group name identifier

Optional

  • peers (List of String) List of peers ids
  • resources (List of String) List of network resource ids

Read-Only

  • id (String) Group ID
  • issued (String) Group issued by

Import

Import is supported using the following syntax:

terraform import netbird_group.example group_id

# For example

terraform import netbird_group.example cvi609bl0ubs73ask10g