mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-07-29 03:14:38 +02:00
10 lines
191 B
Bash
Executable File
10 lines
191 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")"
|
|
rm -f .terraform.lock.hcl
|
|
TF_VAR_passphrase=$(sops -d ./secrets/terraform-passphrase)
|
|
export TF_VAR_passphrase
|
|
tofu init
|
|
tofu "$@"
|