From 20b855042d449525616150b6698063d2c530448e Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 12 Sep 2022 16:57:41 +0300 Subject: feat(ops/glesys): add CNAME for tvixbolt.tvl.su I could not get nginx to serve it from `tvl.su/tvixbolt`, and ran out of interest in trying to fix it, so lets put it on a subdomain instead. Change-Id: I1313d75cc9831d94a894191376534b1e5186a76a Reviewed-on: https://cl.tvl.fyi/c/depot/+/6537 Reviewed-by: tazjin Autosubmit: tazjin Tested-by: BuildkiteCI --- ops/glesys/dns-tvl-su.tf | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ops') diff --git a/ops/glesys/dns-tvl-su.tf b/ops/glesys/dns-tvl-su.tf index f7f68cc5f995..deeb9b39ea73 100644 --- a/ops/glesys/dns-tvl-su.tf +++ b/ops/glesys/dns-tvl-su.tf @@ -76,6 +76,17 @@ resource "glesys_dnsdomain_record" "tvl_su_whitby_services" { for_each = toset(local.whitby_services) } +# Explicit records for corp-only services running on whitby. +resource "glesys_dnsdomain_record" "tvl_su_corp_whitby_services" { + domain = glesys_dnsdomain.tvl_su.id + type = "CNAME" + data = "whitby.tvl.su." + host = each.key + for_each = toset([ + "tvixbolt", + ]) +} + resource "glesys_dnsdomain_record" "tvl_su_TXT_google_site" { domain = glesys_dnsdomain.tvl_su.id host = "@" -- cgit 1.4.1