Files

1.2 KiB

page_title, subcategory, description
page_title subcategory description
netbird Provider

netbird Provider

Example Usage

# Copyright (c) HashiCorp, Inc.

variable "netbird_token" {
  sensitive   = true
  description = "NetBird Management Access Token"
}

terraform {
  required_providers {
    netbird = {
      source = "registry.terraform.io/netbirdio/netbird"
    }
  }
}

provider "netbird" {
  token          = var.netbird_token        # Required
  management_url = "https://api.netbird.io" # Optional, defaults to this value
}

Schema

Optional

  • management_url (String) NetBird Management API URL, can be also set through NB_MANAGEMENT_URL Environment Variable, value defined in Terraform files takes precedence
  • tenant_account (String) Account ID to impersonate, can be also set through NB_ACCOUNT Environment Variable, value defined in Terraform files takes precedence
  • token (String, Sensitive) Admin PAT for NetBird Management Server, can be also set through NB_PAT Environment Variable, value defined in Terraform files takes precedence