tailscale-subnet-router

cocallaw/tailscale-subnet-router/azure

Terraform Module HCL AZURE

Terraform module for Tailscale Subnet Router in Azure ACI

Install
module "tailscale-subnet-router" {
source = "cocallaw/tailscale-subnet-router/azure"
version = "1.6.0"
}
plain text: /constructs/tfmod-cocallaw-tailscale-subnet-router-azure/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform module for Tailscale subnet router in ACI ![TF Registry](https://registry.terraform.io/modules/cocallaw/tailscale-subnet-router/azure/) ![GitHub license](https://github.com/cocallaw/terraform-azure-tailscale-subnet-router/blob/main/LICENSE) This module deploys a Tailscale [subnet router][1] as an [Azure Container Instance][2]. The subnet router ACI instance is deployed into an existing Azure Virtual Network and advertises to your Tailnet the CIDR block for the Azure VNet. Usage To use this module, you must have a Tailscale account to generate a Tailscale auth key, and you must have an existing Azure Virtual Network to associate the ACI Subnet Router with. Provider Configuration This module requires the Azure provider to be configured in your root module. You can configure the pro

Inputs (17)
NameTypeDescriptionDefault
tailscale_advertise_routesstringThe CIDR ranges that Tailscale will advertise to your Tailnet required
container_sizestringThe size (small/medium/large) of the Tailscale ACI container group resource required
container_group_namestringThe name of the ACI container group resource required
tailscale_hostnamestringThe hostname that Tailscale will use to identify the connected ACI container required
resource_group_namestringThe name of the Azure Resource Group required
container_namestringThe name of the Tailscale ACI container resrouce required
tailscale_auth_keystringThe Auth Key that Tailscale container will use to authenticate with and join you required
vnet_namestringThe name of the Virtual Network that the Trailscale ACI container will be connec required
subnet_namestringThe name of the subnet that the Tailscal ACI container will use in the defined v required
tailscale_image_tagstringThe image tag for the Tailscale container stored in the defined ACR"latest"
tailscale_ACR_repository_passwordstringThe password of the ACR repository where the Tailscale image is stored""
enable_state_persistenceboolWhether to persist Tailscale state in Azure File Share. Set to false when using true
storage_account_namestringThe name of the storage account to be created for use by the Tailscale ACI conta""
tailscale_ACR_repositorystringThe name of ACR repository where the Tailscale image is stored, e.g. myacr.azure""
tailscale_ACR_repository_usernamestringThe username of the ACR repository where the Tailscale image is stored""
container_sourcestringThe source of the Tailscale container image. Valid inputs are 'DockerHub' or 'AC"DockerHub"
tailscale_login_server_parameterstringOptional URL for alternative login servers such as Headscale. Must include --log""
Resources (4)
azurerm_container_groupazurerm_network_profileazurerm_storage_accountazurerm_storage_share
Details
FrameworkTerraform Module
LanguageHCL
Version1.6.0
Cloud AZURE
★ Stars14
Forks3
Total downloads3.5k
Inputs17
Resources4
Examples3
LicenseApache-2.0
Namespacecocallaw
Updated