Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Latest commit

 

History

History

connector-azure-container

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Connector AWS

This example demonstrates how to deploy Twingate connectors to Azure Container Instance.

Pre-requisite

  • Python and PIP
  • Pulumi
  • Azure CLI
  • SSH Public Key

How to Use

  • Clone the repository
  • cd /path/to/repo/examples/connector-azure-container
  • Configure Pulumi-Twingate Provider, see configuration section here
  • Setup Azure CLI, see here
  • cp pulumi.dev.yaml.example pulumi.dev.yaml and modify pulumi.dev.yaml to desired values including number of connectors to deploy.
  • pulumi up

Note: pulumi up should automatically download the required Python dependency and Pulumi Plugins.

Note: make sure dev part in the file name of pulumi.dev.yaml is changed to the Pulumi stack name.

How to Update Connectors

Modify line image="twingate/connector:{version number}" in main.py and execute pulumi up would trigger connector task definitions to be replaced. This would replace the connector image with the defined version.

Note: Connector update can cause the existing connection to be interrupted.