2020-12-04 19:16:39 +00:00
|
|
|
PATH_add bin
|
|
|
|
|
2020-12-31 03:22:54 +00:00
|
|
|
export TF_VAR_do_token=$(pass jdormit-infra-do-token)
|
|
|
|
export DIGITALOCEAN_API_TOKEN=$(pass jdormit-infra-do-token)
|
|
|
|
export TF_VAR_spaces_access_id=$(pass jdormit-infra-spaces-access-id)
|
|
|
|
export TF_VAR_spaces_secret_key=$(pass jdormit-infra-spaces-secret-key)
|
|
|
|
|
2020-12-04 19:16:39 +00:00
|
|
|
if [ -f ".env.local" ]; then
|
|
|
|
echo "sourcing .env.local"
|
|
|
|
set -a
|
|
|
|
source ".env.local"
|
|
|
|
set +a
|
|
|
|
fi
|