forked from Fediversity/Fediversity
19 lines
328 B
Markdown
19 lines
328 B
Markdown
# service deployment
|
|
|
|
## usage
|
|
|
|
### updating TF modules
|
|
|
|
```sh
|
|
$ npins update terraform-nixos
|
|
$ cd launch/
|
|
$ echo "{\"terraform-nixos\": $(nix-instantiate --eval --json -E '(import ../npins).terraform-nixos.outPath')}" > module.auto.tfvars.json
|
|
```
|
|
|
|
### local development
|
|
|
|
```sh
|
|
$ nix-shell
|
|
$ rm -rf .terraform/
|
|
$ tofu init
|
|
```
|