Skip to content

Twingate-Labs/pulumi-twingate

Repository files navigation

Twingate Resource Provider

This is a non-official Pulumi resource provider for Twingate that was built using the pulumi terraform bridge utilizing the official Twingate Terraform Provider.

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, where autoco is 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.

Examples

  • TypeScript: Demonstrating how Twingate remote network, service account, service key and resources can be created and configured in Typescript.
  • Python: Demonstrating how Twingate remote network, service account, service key and resources can be created and configured in Python.
  • AWS EC2 Connector: Deploying Twingate connectors to AWS EC2 instances.
  • AWS ECS Connector: Deploying Twingate connectors to AWS ECS cluster.
  • GCP VM Connector: Deploying Twingate connectors to GCP instances.
  • GKE Connectors: Deploying Twingate connectors to GKE Kubernetes cluster.
  • Azure VM Connectors : Deploying Twingate connectors to Azure VM instances.
  • Azure Container Connectors: Deploying Twingate connectors to Azure Container Instance.