infrastructure/scripts/terraform/terraform.sh
Jake Howard c354085dfc
Move split secrets into single env file
Separating state secrets and others made life a pain. Just do everything in an env file instead, which makes syncing a lot simpler
2023-05-03 20:54:06 +01:00

12 lines
141 B
Bash
Executable file

#!/usr/bin/env bash
set -e
cd terraform/
# Load secrets from env file (if it exists)
set -a
source ./.env || true
set +a -x
terraform $@