Run the following command to build the provider
make build
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 the provider for local testing.
make install
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 to this project are released under the project's open source license.