terraform-nixos #1

Closed
kiara wants to merge 57 commits from terraform-nixos into tf
2 changed files with 7 additions and 9 deletions
Showing only changes of commit b3e783d4a5 - Show all commits

View file

@ -7,3 +7,10 @@
```sh
echo "{\"nixos-anywhere\": $(nix-instantiate --eval --json -E '(import ../npins).nixos-anywhere.outPath')}" > .auto.tfvars.json
```
### local development
```sh
$ nix-shell
$ tofu init
```

View file

@ -147,15 +147,6 @@ class DeploymentStatus(ConfigurationForm):
}
cwd = f"{settings.repo_dir}/launch"
# FIXME: move init to packaging phase
cmd = [
"tofu",
# f"-chdir={cwd}",
"init",
"-get=false",
"-input=false",
# "-plugin-dir=...",
]
subprocess.run(cmd, cwd=cwd, env=env)
cmd = [
"tofu",
# f"-chdir={cwd}",