Skip to content

vmanilo/terraform-provider-twingate

 
 

Repository files navigation

Twingate Terraform Provider

Coverage Status

Requirements

  • Bash
  • Go 1.23 (to build the provider plugin)
  • Terraform 1.x

Build

Run the following command to build the provider

make build

Test

Run unit tests:

make test

To run acceptance tests against a real Twingate network you first need to define the following 3 environment variables:

export TWINGATE_URL=twingate.com 
export TWINGATE_NETWORK=<your network slug - <slug>.twingate.com>
export TWINGATE_API_TOKEN=<API token with Read, Write & Provision permissions>

Then you can run by:

make testacc

Install

Install the provider for local testing.

make install

Documentation

To update the documentation edit the files in templates/ and then run make docs. The files in docs/ are auto-generated and should not be updated manually.

Contributions

Contributions to this project are released under the project's open source license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.6%
  • Other 0.4%