aboutsummaryrefslogtreecommitdiff
path: root/servers/active/nixvps/tf-env.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-07-29 14:44:17 -0300
committerEuAndreh <eu@euandre.org>2021-07-29 14:50:25 -0300
commitc8676b05827bc4a764c355397c7f0622f5676798 (patch)
tree03fc522c39bb834d1032ed5dd3d25598e2c66dd3 /servers/active/nixvps/tf-env.sh
parentcd servers && git mv discussions-site/ guixvps/ mailbug/ mediator/ multipatch... (diff)
downloadtoph-c8676b05827bc4a764c355397c7f0622f5676798.tar.gz
toph-c8676b05827bc4a764c355397c7f0622f5676798.tar.xz
WIP reactivate nixvps with Terraform and nixos-rebuild on Vultr
Diffstat (limited to 'servers/active/nixvps/tf-env.sh')
-rw-r--r--servers/active/nixvps/tf-env.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/servers/active/nixvps/tf-env.sh b/servers/active/nixvps/tf-env.sh
new file mode 100644
index 0000000..1ad643e
--- /dev/null
+++ b/servers/active/nixvps/tf-env.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+TF_VAR_hostname="$(cat hostname.txt)"
+export TF_VAR_hostname
+
+TF_VAR_tld="$(cat tld.txt)"
+export TF_VAR_tld