mirror of
https://github.com/netbirdio/terraform-provider-netbird.git
synced 2026-05-22 17:13:16 -07:00
1.2 KiB
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 precedencetenant_account(String) Account ID to impersonate, can be also set through NB_ACCOUNT Environment Variable, value defined in Terraform files takes precedencetoken(String, Sensitive) Admin PAT for NetBird Management Server, can be also set through NB_PAT Environment Variable, value defined in Terraform files takes precedence