about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--default.nix1
-rwxr-xr-xtools/bin/__dispatch.sh3
l---------tools/bin/terraform1
3 files changed, 5 insertions, 0 deletions
diff --git a/default.nix b/default.nix
index b433b1dfba61..ba9e108565de 100644
--- a/default.nix
+++ b/default.nix
@@ -12,6 +12,7 @@ let
 
     # Third-party projects (either vendored or modified from nixpkgs) go here:
     gitAppraise = pkgs.callPackage ./third_party/go/git-appraise/git-appraise {};
+    terraform-gcp = pkgs.terraform_0_12.withPlugins(p: [ p.google ]);
   };
 
   # The pinned commit here is identical to the public nixery.dev
diff --git a/tools/bin/__dispatch.sh b/tools/bin/__dispatch.sh
index d2f67d546423..b0bbbf984b8c 100755
--- a/tools/bin/__dispatch.sh
+++ b/tools/bin/__dispatch.sh
@@ -16,6 +16,9 @@ case "${TARGET_TOOL}" in
   stylish-haskell)
     attr="haskellPackages.stylish-haskell"
     ;;
+  terraform)
+    attr="terraform-gcp"
+    ;;
   *)
     echo "The tool '${TARGET_TOOL}' is currently not installed in this repository."
     exit 1
diff --git a/tools/bin/terraform b/tools/bin/terraform
new file mode 120000
index 000000000000..8390ec9c9652
--- /dev/null
+++ b/tools/bin/terraform
@@ -0,0 +1 @@
+__dispatch.sh
\ No newline at end of file