flake/.envrc

4 lines
119 B
Bash

use flake
if has sops; then
export TF_ENCRYPTION=$(sops --extract '["tofu"]["encryption"]' -d infra/secrets.yaml)
fi