about summary refs log tree commit diff
path: root/ops/glesys/dns-nixery-dev.tf
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-27T15·42+0300
committerclbot <clbot@tvl.fyi>2021-12-27T16·42+0000
commit228138395ba211514c8ba8dcc34f32996d34af91 (patch)
tree3df5e07c3f5b04844b73ba545ec12e66e80b39cb /ops/glesys/dns-nixery-dev.tf
parentb2c151cebb2ecdc94852bbe577dda2f5e9dbd9d8 (diff)
feat(ops/glesys): Import DNS records for tvl.fyi r/3480
These records were previously configured manually in the GleSYS web UI
during our DNS outage (b/155).

Note that I could not find a way to `terraform import` these records
and have instead recreated the set and then cleaned up in the UI.

Since we often point things at whitby, I have extracted variables for
its IPs in this change.

Change-Id: I09fda94d3734e8aaa278fa858e160d046740da1e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4714
Tested-by: BuildkiteCI
Autosubmit: tazjin <mail@tazj.in>
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'ops/glesys/dns-nixery-dev.tf')
-rw-r--r--ops/glesys/dns-nixery-dev.tf4
1 files changed, 2 insertions, 2 deletions
diff --git a/ops/glesys/dns-nixery-dev.tf b/ops/glesys/dns-nixery-dev.tf
index dabd3a27b9ff..53a421d20e34 100644
--- a/ops/glesys/dns-nixery-dev.tf
+++ b/ops/glesys/dns-nixery-dev.tf
@@ -12,14 +12,14 @@ resource "glesys_dnsdomain_record" "nixery_dev_apex_A" {
   domain = glesys_dnsdomain.nixery_dev.id
   host   = "@"
   type   = "A"
-  data   = "49.12.129.211"
+  data   = var.whitby_ipv4
 }
 
 resource "glesys_dnsdomain_record" "nixery_dev_apex_AAAA" {
   domain = glesys_dnsdomain.nixery_dev.id
   host   = "@"
   type   = "AAAA"
-  data   = "2a01:4f8:242:5b21:0:feed:edef:beef"
+  data   = var.whitby_ipv6
 }
 
 resource "glesys_dnsdomain_record" "nixery_dev_NS1" {