terraform-nixos #1

Closed
kiara wants to merge 57 commits from terraform-nixos into tf
4 changed files with 3 additions and 5 deletions
Showing only changes of commit 0350f68427 - Show all commits

2
launch/.gitignore vendored
View file

@ -1,3 +1,3 @@
# .terraform/
.terraform/
.terraform.tfstate.lock.info
terraform.tfstate*

View file

@ -1 +0,0 @@
/nix/store/mnqkwjg5v6sx86an34b4cn075h0lapz3-opentofu-1.8.7/libexec/terraform-providers/registry.opentofu.org/hashicorp/external/2.3.4/linux_amd64

View file

@ -1 +0,0 @@
/nix/store/mnqkwjg5v6sx86an34b4cn075h0lapz3-opentofu-1.8.7/libexec/terraform-providers/registry.opentofu.org/hashicorp/null/3.2.3/linux_amd64

View file

@ -17,10 +17,10 @@ pkgs.stdenv.mkDerivation {
# pass nixos-anywhere path to TF through variable
# when switching TF to nix take this directly from `inputs`
# https://codeberg.org/kiara/e2ed-hetzner/commit/84b2a349d3e48ea2a17340bceff762d834fd4046
# echo "{\"nixos-anywhere\": \"${sources.nixos-anywhere}\"}" > .auto.tfvars.json
echo "{\"nixos-anywhere\": \"${sources.nixos-anywhere}\"}" > .auto.tfvars.json
# point to the relevant providers
# tofu init -input=false
tofu init -input=false
popd
runHook postBuild