diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-12T13·57+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-09-13T11·05+0000 |
commit | 20b855042d449525616150b6698063d2c530448e (patch) | |
tree | b23ffd1ebd1f188b81ee8b33c6b63eef6eea921c | |
parent | dea6d9b73b773b2072fcfaa46e6b8989c51d241f (diff) |
feat(ops/glesys): add CNAME for tvixbolt.tvl.su r/4828
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 <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
-rw-r--r-- | ops/glesys/dns-tvl-su.tf | 11 |
1 files changed, 11 insertions, 0 deletions
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 = "@" |