diff --git a/src/std/fwlib/blockTypes/terra.nix b/src/std/fwlib/blockTypes/terra.nix index 707f5db9..ee14b805 100644 --- a/src/std/fwlib/blockTypes/terra.nix +++ b/src/std/fwlib/blockTypes/terra.nix @@ -93,5 +93,6 @@ in (mkCommand currentSystem "state" "tf state" [pkgs.jq pkgs.terraform pkgs.terraform-backend-git] (wrap "state") {}) (mkCommand currentSystem "refresh" "tf refresh" [pkgs.jq pkgs.terraform pkgs.terraform-backend-git] (wrap "refresh") {}) (mkCommand currentSystem "destroy" "tf destroy" [pkgs.jq pkgs.terraform pkgs.terraform-backend-git] (wrap "destroy") {}) + (mkCommand currentSystem "terraform" "pass any command to terraform" [pkgs.jq pkgs.terraform pkgs.terraform-backend-git] (wrap "") {}) ]; } diff --git a/tests/_snapshots/bt-blocktypes b/tests/_snapshots/bt-blocktypes index ef7e419e..fbf507a4 100644 --- a/tests/_snapshots/bt-blocktypes +++ b/tests/_snapshots/bt-blocktypes @@ -329,6 +329,11 @@ description = "tf destroy"; name = "destroy"; } + { + command = ; + description = "pass any command to terraform"; + name = "terraform"; + } ]; name = "terra"; type = "terra";