about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-03-14T18·43+0300
committertazjin <tazjin@tvl.su>2023-03-14T21·59+0000
commit790eac5a5c84929e5132d68070b2721c22382fe3 (patch)
tree19fc58ac50bae73fc5f5d3eff006c2f744cd0f69 /ops
parent19c452875ee998222dbe4063fc5078f7789c210d (diff)
feat(ops/glesys): add CNAME for docs.tvix.dev r/6003
Change-Id: Ie1994ac4d14344c82ae184f4e3cd9f5292d96c84
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8297
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops')
-rw-r--r--ops/glesys/dns-tvix-dev.tf7
1 files changed, 7 insertions, 0 deletions
diff --git a/ops/glesys/dns-tvix-dev.tf b/ops/glesys/dns-tvix-dev.tf
index 3e99ac6f1597..f4570326031c 100644
--- a/ops/glesys/dns-tvix-dev.tf
+++ b/ops/glesys/dns-tvix-dev.tf
@@ -18,6 +18,13 @@ resource "glesys_dnsdomain_record" "tvix_dev_apex_AAAA" {
   data   = var.whitby_ipv6
 }
 
+resource "glesys_dnsdomain_record" "tvix_dev_docs_CNAME" {
+  domain = glesys_dnsdomain.tvix_dev.id
+  host   = "docs"
+  type   = "CNAME"
+  data   = "whitby.tvl.fyi."
+}
+
 resource "glesys_dnsdomain_record" "tvix_dev_NS1" {
   domain = glesys_dnsdomain.tvix_dev.id
   host   = "@"