about summary refs log tree commit diff
path: root/ops/glesys
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-02-18T11·42+0300
committerclbot <clbot@tvl.fyi>2022-02-18T11·47+0000
commit4ce2b49cd9e14f862f16326b925aadcc28b9fdb6 (patch)
tree80ee9b5755ece4d4f4433cdcdfb3fdb8ee2b54c8 /ops/glesys
parentd68de096c74883711a4fc5be4b53877df5fc53e3 (diff)
feat(ops/glesys): add DNS record for AAAA sanduny.tvl.su. r/3851
Change-Id: I4a74cd173b326941c12b7611841ced2038650137
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5314
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/glesys')
-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 051e9752c4..39fd054e01 100644
--- a/ops/glesys/dns-tvl-su.tf
+++ b/ops/glesys/dns-tvl-su.tf
@@ -60,6 +60,13 @@ resource "glesys_dnsdomain_record" "tvl_su_sanduny_A" {
   data   = var.sanduny_ipv4
 }
 
+resource "glesys_dnsdomain_record" "tvl_su_sanduny_AAAA" {
+  domain = glesys_dnsdomain.tvl_su.id
+  host   = "sanduny"
+  type   = "AAAA"
+  data   = var.sanduny_ipv6
+}
+
 # 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 a16a1fc540..9032d501a5 100644
--- a/ops/glesys/main.tf
+++ b/ops/glesys/main.tf
@@ -65,3 +65,8 @@ variable "sanduny_ipv4" {
   type    = string
   default = "85.119.82.231"
 }
+
+variable "sanduny_ipv6" {
+  type    = string
+  default = "2001:ba8:1f1:f109::feed:edef:beef"
+}