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-24T17·20+0300
committerclbot <clbot@tvl.fyi>2021-12-24T18·38+0000
commitafe648bbb2b70797a08d0808dfe16b98f7431cb3 (patch)
tree8693905e2d886f2f81fa3364193f7ba3f4ed8b85 /ops/glesys/main.tf
parent4ad4e7346b53209979244dbd558ca08ab2bb50ce (diff)
feat(ops/glesys): Import existing object storage instance r/3362
Change-Id: I5a5269ef0d385d864dd8f62eb2332e6ae2cb2672
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4574
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.tf22
1 files changed, 22 insertions, 0 deletions
diff --git a/ops/glesys/main.tf b/ops/glesys/main.tf
new file mode 100644
index 000000000000..202fe2ff5ec7
--- /dev/null
+++ b/ops/glesys/main.tf
@@ -0,0 +1,22 @@
+# Configure TVL resources hosted with GleSYS.
+#
+# Most importantly:
+#  - all of our DNS
+#  - object storage (e.g. backups)
+
+terraform {
+  required_providers {
+    glesys = {
+      source = "depot/glesys"
+    }
+  }
+}
+
+provider "glesys" {
+  userid = "cl26117" # generated by GleSYS
+}
+
+resource "glesys_objectstorage_instance" "tvl-backups" {
+  description = "tvl-backups"
+  datacenter = "dc-sto1"
+}