forked from clan/clan-infra
tf.sh: no longer ignore sops decryption errors
This commit is contained in:
parent
0c657360bf
commit
c30add1848
@ -3,7 +3,7 @@ set -euo pipefail
|
|||||||
|
|
||||||
rm -f .terraform.lock.hcl
|
rm -f .terraform.lock.hcl
|
||||||
if grep -q .sops terraform.tfstate; then
|
if grep -q .sops terraform.tfstate; then
|
||||||
sops -i -d terraform.tfstate || true
|
sops -i -d terraform.tfstate
|
||||||
fi
|
fi
|
||||||
cleanup() {
|
cleanup() {
|
||||||
sops -i -e terraform.tfstate
|
sops -i -e terraform.tfstate
|
||||||
|
Loading…
Reference in New Issue
Block a user