feat(dns): setup cloudflared tunnel and DNS records

This commit is contained in:
2025-09-28 22:20:40 +03:00
parent b94d6e6f22
commit 2f907c51ab
12 changed files with 273 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
variable "cloudflare_zone_id" {
description = "Cloudflare Zone ID"
type = string
sensitive = true
}
variable "cloudflare_tunnel_id" {
description = "Cloudflare Zone ID"
type = string
sensitive = true
}
variable "services" {
description = "Services to expose to the outside world"
type = map(object({
subdomain = string
service = string
policy = string
}))
}