switch from gitlab state provider to encrypted local state provider

This commit is contained in:
Jörg Thalheim
2025-03-22 08:13:50 +01:00
parent 32b64c50c6
commit 8c4ffcc13b
12 changed files with 78 additions and 35 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
rm -f .terraform.lock.hcl
nix build .#checks.x86_64-linux.test -L
TF_VAR_passphrase=$(sops -d ../admins/secrets/terraform-passphrase)
export TF_VAR_passphrase
tofu init
tofu "$@"