AfrikTeckMesh Terraform - fork de netbirdio/terraform-provider-netbird (BSD-3)
Find a file
AfrikTeck 4c5ef70485
Some checks are pending
End-to-end / Acceptance tests (push) Waiting to run
Tests / Build (push) Waiting to run
Tests / generate (push) Waiting to run
Tests / Unit and integration tests (push) Blocked by required conditions
chore: replace git.afrikteck.com with githubafrik.afrikteck.com
2026-11-05 05:56:50 +01:00
.github chore: replace git.afrikteck.com with githubafrik.afrikteck.com 2026-11-05 05:56:50 +01:00
docs rebrand: detach from NetBird as AfrikTeckMesh 2026-11-03 15:44:02 +01:00
examples rebrand: detach from NetBird as AfrikTeckMesh 2026-11-03 15:44:02 +01:00
internal/provider chore: replace git.afrikteck.com with githubafrik.afrikteck.com 2026-11-05 05:56:50 +01:00
tools rebrand: detach from NetBird as AfrikTeckMesh 2026-11-03 15:44:02 +01:00
vendor chore: replace git.afrikteck.com with githubafrik.afrikteck.com 2026-11-05 05:56:50 +01:00
.coderabbit.yaml chore: replace git.afrikteck.com with githubafrik.afrikteck.com 2026-11-05 05:56:50 +01:00
.gitignore Initial Version (#1) 2025-05-09 09:19:08 +02:00
.golangci.yml Initial Version (#1) 2025-05-09 09:19:08 +02:00
.goreleaser.yml Initial Version (#1) 2025-05-09 09:19:08 +02:00
AGENTS.md chore: replace git.afrikteck.com with githubafrik.afrikteck.com 2026-11-05 05:56:50 +01:00
CLAUDE.md [docs] Add AGENTS.md, CLAUDE.md, and CodeRabbit config (#211) 2026-08-21 17:51:20 +02:00
GNUmakefile [tests,ci] Put the acceptance tests behind an e2e build tag (#197) 2026-08-18 17:10:38 +02:00
go.mod chore: replace git.afrikteck.com with githubafrik.afrikteck.com 2026-11-05 05:56:50 +01:00
go.sum rebrand: detach from NetBird as AfrikTeckMesh 2026-11-03 15:44:02 +01:00
LICENSE Initial commit 2025-04-24 20:01:18 +02:00
main.go chore: replace git.afrikteck.com with githubafrik.afrikteck.com 2026-11-05 05:56:50 +01:00
main_local_debug.go chore: replace git.afrikteck.com with githubafrik.afrikteck.com 2026-11-05 05:56:50 +01:00
NOTICE docs: add fork attribution and trademark notice 2026-11-03 19:44:37 +01:00
README.md rebrand: detach from NetBird as AfrikTeckMesh 2026-11-03 15:44:02 +01:00
terraform-registry-manifest.json Initial Version (#1) 2025-05-09 09:19:08 +02:00
TRADEMARK.md docs: add fork attribution and trademark notice 2026-11-03 19:44:37 +01:00

AfrikTeckMesh Terraform Provider

A Terraform Provider for managing your AfrikTeckMesh Account and its resources.

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go install command:
go install

Adding Dependencies

This provider uses Go modules. Please see the Go documentation for the most up to date information about using Go modules.

To add a new dependency github.com/author/dependency to your Terraform provider:

go get github.com/author/dependency
go mod tidy

Then commit the changes to go.mod and go.sum.

Using the provider

Check usage in docs.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).

To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.

To generate or update documentation, run make generate.

There are two test suites, separated by the e2e build tag.

make test runs everything that needs nothing but Go — the conversion functions each resource maps its API type through, the filter matching every data source scores on, and the provider's own configuration. It takes about a second and needs no Docker and no Terraform CLI, because the acceptance tests and the harness that starts a deployment for them are not compiled into that build at all.

make testacc runs the acceptance suite as well, against a live AfrikTeckMesh deployment that the harness brings up. It needs Docker and a Terraform CLI.

make test      # fast: no deployment
make testacc   # everything, against a deployment

Both switches in testacc are load-bearing: -tags e2e compiles the harness and the acceptance tests in, and TF_ACC=1 is terraform-plugin-testing's own gate. Dropping either one runs the fast suite and reports success without having tested a deployment.

Note: Acceptance tests create real resources, and often cost money to run against a hosted AfrikTeckMesh instance.