forked from Fediversity/Fediversity
document updating TF module
This commit is contained in:
parent
727b62f588
commit
195a8d4de8
1 changed files with 4 additions and 1 deletions
|
@ -5,12 +5,15 @@
|
||||||
### updating TF modules
|
### updating TF modules
|
||||||
|
|
||||||
```sh
|
```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
|
### local development
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ nix-shell
|
$ nix-shell
|
||||||
|
$ rm -rf .terraform/
|
||||||
$ tofu init
|
$ tofu init
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue