mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-08-17 18:41:28 +02:00
switch from gitlab state provider to encrypted local state provider
This commit is contained in:
10
targets/nixos-wiki.nixos.org/tf.sh
Executable file
10
targets/nixos-wiki.nixos.org/tf.sh
Executable 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 "$@"
|
Reference in New Issue
Block a user