khuedoan-homelab/external/main.tf
Khue Doan 8447502d54 feat: add ZeroTier for remote access
- Fully open source
- Has free hosted version (my.zerotier.com)
- Can be automated with Terraform
- Pretty good performance with UDP hole punching
2022-08-29 14:01:25 +07:00

15 lines
428 B
HCL

module "cloudflare" {
source = "./modules/cloudflare"
cloudflare_account_id = var.cloudflare_account_id
cloudflare_email = var.cloudflare_email
cloudflare_api_key = var.cloudflare_api_key
}
module "zerotier" {
source = "./modules/zerotier"
zerotier_central_token = var.zerotier_central_token
bridged_routes = [
"192.168.1.0/24" # TODO add this to configure script
]
}