about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-02-16T19·35+0300
committertazjin <tazjin@tvl.su>2022-02-18T11·41+0000
commitd68de096c74883711a4fc5be4b53877df5fc53e3 (patch)
tree94bb8642aea44201d2201a84c379f9a1d9a36c71 /ops
parentac6717fe3c5cf5ab6b495092e8dd4565a4242eac (diff)
feat(ops/glesys): add DNS record for A sanduny.tvl.su. r/3850
Change-Id: I12e678f161ca9bfb7e982ed067a0b8bd0325d737
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5296
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops')
-rw-r--r--ops/glesys/dns-tvl-su.tf7
-rw-r--r--ops/glesys/main.tf5
2 files changed, 12 insertions, 0 deletions
diff --git a/ops/glesys/dns-tvl-su.tf b/ops/glesys/dns-tvl-su.tf
index 18f581132aa4..051e9752c4ab 100644
--- a/ops/glesys/dns-tvl-su.tf
+++ b/ops/glesys/dns-tvl-su.tf
@@ -53,6 +53,13 @@ resource "glesys_dnsdomain_record" "tvl_su_whitby_AAAA" {
   data   = var.whitby_ipv6
 }
 
+resource "glesys_dnsdomain_record" "tvl_su_sanduny_A" {
+  domain = glesys_dnsdomain.tvl_su.id
+  host   = "sanduny"
+  type   = "A"
+  data   = var.sanduny_ipv4
+}
+
 # This record is responsible for hosting ~all TVL services. Be
 # mindful!
 resource "glesys_dnsdomain_record" "tvl_su_wildcard" {
diff --git a/ops/glesys/main.tf b/ops/glesys/main.tf
index 857c1677fb32..a16a1fc5402d 100644
--- a/ops/glesys/main.tf
+++ b/ops/glesys/main.tf
@@ -60,3 +60,8 @@ variable "whitby_ipv6" {
   type    = string
   default = "2a01:4f8:242:5b21:0:feed:edef:beef"
 }
+
+variable "sanduny_ipv4" {
+  type    = string
+  default = "85.119.82.231"
+}