From 0f984f3f23bbbb5f7cb66d1142ffdf29dbc33712 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 22 Feb 2020 20:21:14 +0000 Subject: [PATCH] Create a more generic terraform helper script --- scripts/terraform-apply.sh | 9 --------- scripts/{terraform-plan.sh => terraform.sh} | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100755 scripts/terraform-apply.sh rename scripts/{terraform-plan.sh => terraform.sh} (81%) diff --git a/scripts/terraform-apply.sh b/scripts/terraform-apply.sh deleted file mode 100755 index fc39343..0000000 --- a/scripts/terraform-apply.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -set -ex - -cd terraform/ - -source secrets.sh - -terraform apply diff --git a/scripts/terraform-plan.sh b/scripts/terraform.sh similarity index 81% rename from scripts/terraform-plan.sh rename to scripts/terraform.sh index c5d86d5..a932cbd 100755 --- a/scripts/terraform-plan.sh +++ b/scripts/terraform.sh @@ -6,4 +6,4 @@ cd terraform/ source secrets.sh -terraform plan +terraform $@