forked from Fediversity/Fediversity
document updating TF module
This commit is contained in:
parent
7e35b1244e
commit
66c0425e1c
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue