diff options
| author | EuAndreh <eu@euandre.org> | 2020-08-12 22:43:41 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2020-08-12 22:43:41 -0300 |
| commit | 686caec4b70e4119fcce4fe71d4bfb2489cc80c8 (patch) | |
| tree | 671c8690a31f2902c8b8f840b14ec575c793f763 /terraform-apply.sh | |
| parent | Rename: nixos-update.sh->nixos-switch.sh, terraform-update.sh->terraform-appl... (diff) | |
| download | server-686caec4b70e4119fcce4fe71d4bfb2489cc80c8.tar.gz server-686caec4b70e4119fcce4fe71d4bfb2489cc80c8.tar.xz | |
Add .tfplan extension to Terraform plan files
Diffstat (limited to 'terraform-apply.sh')
| -rwxr-xr-x | terraform-apply.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/terraform-apply.sh b/terraform-apply.sh index ac2b9ca..2498d44 100755 --- a/terraform-apply.sh +++ b/terraform-apply.sh @@ -5,7 +5,7 @@ set -Eeuo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" terraform init -PLAN_FILE="./secrets/terraform/plan-files/$(date -Iseconds)" +PLAN_FILE="./secrets/terraform/plan-files/$(date -Iseconds).tfplan" terraform plan -out="${PLAN_FILE}" # shellcheck disable=2162 read -p "Is the above Terraform plan acceptable?." |
