pulumi-netbird

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2025 License: AGPL-3.0

README

Pulumi NetBird Native Provider

This repository contains the Pulumi NetBird Provider, a native Pulumi provider built in Go using the pulumi-go-provider SDK. It enables you to manage NetBird resources—like networks, peers, groups, and access rules—declaratively using Pulumi's infrastructure-as-code framework.

NetBird is a modern, WireGuard-based mesh VPN. This provider integrates NetBird into Pulumi for seamless infrastructure automation.

Features

  • Manage NetBird resources using Pulumi in Go
  • Built natively with Pulumi's Go SDK
  • Includes example configurations for local testing

Prerequisites

Ensure the following are installed and available in your $PATH:

Build and Test

make build install        # Build and install the provider locally
make gen_examples         # Generate Go examples from YAML source
make up                   # Deploy the example Pulumi stack
make down                 # Destroy the example stack

Creating Your Own Provider (Optional)

This repository was based on Pulumi’s native provider boilerplate. If you're building your own provider:

make prepare NAME=yourprovider ORG=yourorg REPOSITORY=github.com/yourorg/pulumi-yourprovider

This command will:

  • Rename relevant files and folders
  • Update Go module paths
  • Replace placeholder names

Example Usage

Navigate to the example directory:

cd examples/simple
pulumi stack init test
pulumi up

This deploys a sample NetBird configuration using the provider.

Repository Structure

  • provider/ – Go implementation of the provider
  • sdk/go/netbird/ – Go SDK for the NetBird provider
  • examples/ – Example Pulumi projects using the provider
  • Makefile – Task runner for build, install, and test operations

References

Directories

Path Synopsis
sdk module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL