aboutsummaryrefslogtreecommitdiff
path: root/terraform-apply.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-15 17:29:39 -0300
committerEuAndreh <eu@euandre.org>2021-01-15 17:29:39 -0300
commit74abfe68d21de295b07c22f0d12f6525daac4c62 (patch)
tree57922057a9689dde06f5794237cfea0725578f26 /terraform-apply.sh
parentvps.scm: WIP start adding (machine ...) configuration (diff)
downloadserver-74abfe68d21de295b07c22f0d12f6525daac4c62.tar.gz
server-74abfe68d21de295b07c22f0d12f6525daac4c62.tar.xz
Remove secrets/terraform/plan-files/ and terraform-apply.sh
Diffstat (limited to 'terraform-apply.sh')
-rwxr-xr-xterraform-apply.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/terraform-apply.sh b/terraform-apply.sh
deleted file mode 100755
index 7d0725e..0000000
--- a/terraform-apply.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh -eu
-
-TF_VAR_vultr_api_key="$(cat ./secrets/terraform/vultr-api-key.txt)"
-export TF_VAR_vultr_api_key
-
-rm -rf .terraform/
-terraform init
-PLAN_FILE="./secrets/terraform/plan-files/$(date -Iseconds).tfplan"
-terraform plan -out="$PLAN_FILE"
-printf "Is the above Terraform plan acceptable? Press CTRL+c to cancel."
-# shellcheck disable=2162
-read
-terraform apply "$PLAN_FILE"