From 459f8936c521551d009f1680a46b85ab2f05ed1e Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 4 Dec 2020 14:16:39 -0500 Subject: [PATCH] Commit direnv config file and move secrets to .env.local --- .envrc | 8 ++++++++ .gitignore | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3251ff1 --- /dev/null +++ b/.envrc @@ -0,0 +1,8 @@ +PATH_add bin + +if [ -f ".env.local" ]; then + echo "sourcing .env.local" + set -a + source ".env.local" + set +a +fi diff --git a/.gitignore b/.gitignore index 4c66078..d1d76e7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/.envrc +/.env.local /backend-config.tf */**/.terraform *.tfstate*