forked from Fediversity/Fediversity
untrack TF generated provider/module stuff - local dev now requires following launch/README.md
This commit is contained in:
parent
46469c033f
commit
8e83f5b00c
8 changed files with 3 additions and 11 deletions
launch
.auto.tfvars.json.gitignore
.terraform
tf-env.nix
|
@ -1 +0,0 @@
|
|||
{"nixos-anywhere": "/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source"}
|
2
launch/.gitignore
vendored
2
launch/.gitignore
vendored
|
@ -1,3 +1,3 @@
|
|||
# .terraform/
|
||||
.terraform/
|
||||
.terraform.tfstate.lock.info
|
||||
terraform.tfstate*
|
||||
|
|
|
@ -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"}]}
|
|
@ -1 +0,0 @@
|
|||
/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source
|
|
@ -1,3 +0,0 @@
|
|||
[
|
||||
"/nix/store/mnqkwjg5v6sx86an34b4cn075h0lapz3-opentofu-1.8.7/libexec/terraform-providers"
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
/nix/store/mnqkwjg5v6sx86an34b4cn075h0lapz3-opentofu-1.8.7/libexec/terraform-providers/registry.opentofu.org/hashicorp/external/2.3.4/linux_amd64
|
|
@ -1 +0,0 @@
|
|||
/nix/store/mnqkwjg5v6sx86an34b4cn075h0lapz3-opentofu-1.8.7/libexec/terraform-providers/registry.opentofu.org/hashicorp/null/3.2.3/linux_amd64
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue