aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-05 09:26:22 -0300
committerEuAndreh <eu@euandre.org>2020-12-05 09:26:22 -0300
commit14a78f4e1e263c767a609d53e262c21fbeea21f9 (patch)
treee99004417c5f5a5d55f77558a9bb133ca27844b7
parentvps.scm: Cosmetic changes (diff)
downloadserver-14a78f4e1e263c767a609d53e262c21fbeea21f9.tar.gz
server-14a78f4e1e263c767a609d53e262c21fbeea21f9.tar.xz
Remove unnecessary curly braces from Bash variables
-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"