A Pulumi package for creating and managing Twingate cloud resources.
Actively maintained. Last release 5 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pulumi-twingateTwingate Resource Provider
The Twingate Resource Provider lets you manage Twingate resources.
Installing
This package is available for several languages/platforms:
Node.js (JavaScript/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm:
npm install @twingate/pulumi-twingate
or yarn:
yarn add @twingate/pulumi-twingate
Python
To use from Python, install using pip:
pip install pulumi-twingate
Go
To use from Go, use go get to grab the latest version of the library:
go get github.com/pulumi/pulumi-twingate/sdk/go/...
.NET
To use from .NET, install using dotnet add package:
dotnet add package Twingate.Twingate
Configuration
The following configuration points are available for the twingate provider:
twingate:apiToken- The access key for API operations. You can retrieve this from the Twingate Admin Console (documentation). Alternatively, this can be specified using the TWINGATE_API_TOKEN environment variable.twingate:network- Your Twingate network ID for API operations. You can find it in the Admin Console URL, for example:autoco.twingate.com, whereautocois your network ID. Alternatively, this can be specified using the TWINGATE_NETWORK environment variable.twingate:url- The default is 'twingate.com'. This is optional and shouldn't be changed under normal circumstances.
Reference
For detailed reference documentation, please visit the Pulumi registry.
Development
Building the Provider Locally
To build and test the provider from source:
Prerequisites
- Go 1.24+: Required to build the provider
- Node.js 22+: Required for the Node.js/TypeScript SDK