aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.envrc2
-rwxr-xr-xterraform-apply.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/.envrc b/.envrc
index 7583e6f..dc80a4f 100644
--- a/.envrc
+++ b/.envrc
@@ -9,7 +9,7 @@ export TLD="$(cat sync/tld.txt)"
#
# Terraform
#
-export TF_VAR_tld="${TLD}"
+export TF_VAR_tld="$TLD"
export TF_VAR_hostname="sovereignty-guix-system"
export TF_VAR_storage_name="sovereignty-storage"
diff --git a/terraform-apply.sh b/terraform-apply.sh
index d09fb3c..9a9d577 100755
--- a/terraform-apply.sh
+++ b/terraform-apply.sh
@@ -8,7 +8,7 @@ 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}"
+terraform plan -out="$PLAN_FILE"
# shellcheck disable=2162
read -p "Is the above Terraform plan acceptable? Press CTRL+c to cancel."
-terraform apply "${PLAN_FILE}"
+terraform apply "$PLAN_FILE"