Pull env vars from pass directly in .envrc
This commit is contained in:
parent
52e99af422
commit
736d51a5fa
11
.envrc
11
.envrc
@ -1,5 +1,16 @@
|
|||||||
PATH_add bin
|
PATH_add bin
|
||||||
|
|
||||||
|
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)
|
||||||
|
export TF_VAR_netlify_token=$(pass netlify-terraform-access-token)
|
||||||
|
export SYNCTHING_USER=$(pass packer-syncthing-user)
|
||||||
|
export SYNCTHING_PW=$(pass packer-syncthing-pw)
|
||||||
|
export SYNCTHING_API_KEY=$(pass packer-syncthing-api-key)
|
||||||
|
export SYNCTHING_CERT_PEM=$(pass packer-syncthing-cert.pem)
|
||||||
|
export SYNCTHING_KEY_PEM=$(pass packer-syncthing-key.pem)
|
||||||
|
|
||||||
if [ -f ".env.local" ]; then
|
if [ -f ".env.local" ]; then
|
||||||
echo "sourcing .env.local"
|
echo "sourcing .env.local"
|
||||||
set -a
|
set -a
|
||||||
|
Loading…
Reference in New Issue
Block a user