terraform-provider-twingate

command module
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

README

Twingate Terraform Provider

Coverage Status

Requirements

  • Bash
  • Go 1.21 (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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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