Restructure helper scripts so they're slightly more useful

This commit is contained in:
Jake Howard
2020-02-22 20:41:04 +00:00
parent ac6210d618
commit 34aa3a52f8
9 changed files with 11 additions and 20 deletions

7
scripts/terraform/lint.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -ex
./scripts/terraform/terraform.sh validate
./scripts/terraform/terraform.sh fmt -check -recursive

9
scripts/terraform/terraform.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -ex
cd terraform/
source secrets.sh
terraform $@