terraform-nixos #1

Closed
kiara wants to merge 57 commits from terraform-nixos into tf
Showing only changes of commit 195a8d4de8 - Show all commits

View file

@ -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
``` ```