about summary refs log tree commit diff
path: root/ops/glesys/main.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/main.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/main.tf')
-rw-r--r--ops/glesys/main.tf10
1 files changed, 10 insertions, 0 deletions
diff --git a/ops/glesys/main.tf b/ops/glesys/main.tf
index 9fa87f0609a0..857c1677fb32 100644
--- a/ops/glesys/main.tf
+++ b/ops/glesys/main.tf
@@ -50,3 +50,13 @@ resource "glesys_objectstorage_credential" "litestream" {
   instanceid  = glesys_objectstorage_instance.tvl-state.id
   description = "key for litestream"
 }
+
+variable "whitby_ipv4" {
+  type    = string
+  default = "49.12.129.211"
+}
+
+variable "whitby_ipv6" {
+  type    = string
+  default = "2a01:4f8:242:5b21:0:feed:edef:beef"
+}