From 14a78f4e1e263c767a609d53e262c21fbeea21f9 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 5 Dec 2020 09:26:22 -0300 Subject: Remove unnecessary curly braces from Bash variables --- .envrc | 2 +- terraform-apply.sh | 4 ++-- 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" -- cgit v1.2.3