about summary refs log tree commit diff
path: root/ops/glesys/dns-tvl-su.tf
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-02-23T09·41+0700
committerclbot <clbot@tvl.fyi>2024-02-23T18·44+0000
commitf3faeae52aae8a3ab9cd0aee2c2a2ef9c904e483 (patch)
treeed312626f122f420ad45d2c2ddee1a4182e8d1df /ops/glesys/dns-tvl-su.tf
parent5c3065b43a61a5fa019cbbb157984fc5eb81d439 (diff)
feat(ops/glesys): add bolt.tvix.dev r/7598
Make tvixbolt.tvl.su just serve a redirect to the new domain, and fold
everything into the tvix.dev.nix module.

Change-Id: I3a9ccf37d2ceee8886208d6f662e7598ce395b1a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11015
Reviewed-by: lukegb <lukegb@tvl.fyi>
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/glesys/dns-tvl-su.tf')
-rw-r--r--ops/glesys/dns-tvl-su.tf9
1 files changed, 3 insertions, 6 deletions
diff --git a/ops/glesys/dns-tvl-su.tf b/ops/glesys/dns-tvl-su.tf
index 0f397193d7ae..f2286cf1cf5d 100644
--- a/ops/glesys/dns-tvl-su.tf
+++ b/ops/glesys/dns-tvl-su.tf
@@ -76,15 +76,12 @@ 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" {
+# historical tvixbolt.tvl.su record, redirects to bolt.tvix.dev
+resource "glesys_dnsdomain_record" "tvix_su_tvixbolt_CNAME" {
   domain = glesys_dnsdomain.tvl_su.id
+  host   = "tvixbolt"
   type   = "CNAME"
   data   = "whitby.tvl.su."
-  host   = each.key
-  for_each = toset([
-    "tvixbolt",
-  ])
 }
 
 resource "glesys_dnsdomain_record" "tvl_su_inbox_CNAME" {