1
0
forked from clan/clan-infra

tf.sh: no longer ignore sops decryption errors

This commit is contained in:
Jörg Thalheim 2023-07-05 13:51:59 +02:00
parent 0c657360bf
commit c30add1848

View File

@ -3,7 +3,7 @@ set -euo pipefail
rm -f .terraform.lock.hcl
if grep -q .sops terraform.tfstate; then
sops -i -d terraform.tfstate || true
sops -i -d terraform.tfstate
fi
cleanup() {
sops -i -e terraform.tfstate