From 9d81435e0e4df74b6aab9918b6dafe86b5ea22f4 Mon Sep 17 00:00:00 2001 From: Sven Tennie Date: Fri, 31 May 2024 12:52:24 +0200 Subject: [PATCH] Reintroduce Terraform OpenTofu is not a full drop-in replacement: It fails when it queries additional Terraform providers from the registry for cailleach commands (e.g. `make re-init`.) OpenTofu now runs its own registry which seems to not be a 1:1 copy of Terraform's. --- default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index bf27afb64..84af1d4f4 100644 --- a/default.nix +++ b/default.nix @@ -4,7 +4,10 @@ let sources = import ./nix/sources.nix; pkgs = import sources.nixpkgs { inherit system; - config = { }; + config = { + # To get Terraform (OpenTofu is not a full drop-in replacement) + allowUnfree = true; + }; overlays = [ (import ./nix/overlay.nix) ]; @@ -44,6 +47,7 @@ rec { moreutils skopeo sops + terraform opentofu yq create-container-dump