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
This commit is contained in:
Jake Howard
2023-05-03 20:40:10 +01:00
parent 61072ddeab
commit c354085dfc
3 changed files with 7 additions and 6 deletions

View File

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