1
0
Fork 0

untrack TF generated provider/module stuff - local dev now requires following launch/README.md

This commit is contained in:
kiara Grouwstra 2025-03-30 12:45:24 +02:00
parent 46469c033f
commit 8e83f5b00c
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU
8 changed files with 3 additions and 11 deletions
launch
.auto.tfvars.json.gitignore
.terraform
modules
plugin_path
providers/registry.opentofu.org/hashicorp
external/2.3.4
null/3.2.3
tf-env.nix

View file

@ -1 +0,0 @@
{"nixos-anywhere": "/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source"}

2
launch/.gitignore vendored
View file

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

View file

@ -1 +0,0 @@
{"Modules":[{"Key":"","Source":"","Dir":"."},{"Key":"peertube","Source":"./vm","Dir":"vm"},{"Key":"peertube.deploy","Source":"file:///nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source//terraform/all-in-one","Dir":".terraform/modules/peertube.deploy/terraform/all-in-one"},{"Key":"peertube.deploy.install","Source":"../install","Dir":"/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source/terraform/install"},{"Key":"peertube.deploy.nixos-rebuild","Source":"../nixos-rebuild","Dir":"/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source/terraform/nixos-rebuild"},{"Key":"peertube.deploy.partitioner-build","Source":"../nix-build","Dir":"/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source/terraform/nix-build"},{"Key":"peertube.deploy.system-build","Source":"../nix-build","Dir":"/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source/terraform/nix-build"}]}

View file

@ -1 +0,0 @@
/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source

View file

@ -1,3 +0,0 @@
[
"/nix/store/mnqkwjg5v6sx86an34b4cn075h0lapz3-opentofu-1.8.7/libexec/terraform-providers"
]

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