fix(external/cloudflared): fix incorrect tunnel domain

This commit is contained in:
Khue Doan 2021-12-12 09:39:44 +07:00
parent f5b081cedc
commit 51d77d75ce

View File

@ -31,7 +31,7 @@ resource "cloudflare_record" "tunnels" {
zone_id = data.cloudflare_zone.khuedoan_com.id
type = "CNAME"
name = each.key
value = cloudflare_argo_tunnel.homelab.cname
value = "${cloudflare_argo_tunnel.homelab.id}.cfargotunnel.com"
proxied = true
ttl = 1 # Auto
}