1
0
Fork 0

document updating TF module

This commit is contained in:
kiara Grouwstra 2025-03-27 10:07:34 +01:00
parent 7e35b1244e
commit 66c0425e1c
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -5,12 +5,15 @@
### updating TF modules
```sh
echo "{\"nixos-anywhere\": $(nix-instantiate --eval --json -E '(import ../npins).nixos-anywhere.outPath')}" > .auto.tfvars.json
$ npins update nixos-anywhere
$ cd launch/
$ echo "{\"nixos-anywhere\": $(nix-instantiate --eval --json -E '(import ../npins).nixos-anywhere.outPath')}" > .auto.tfvars.json
```
### local development
```sh
$ nix-shell
$ rm -rf .terraform/
$ tofu init
```