diff options
author | Vincent Ambo <tazjin@google.com> | 2019-08-15T15·28+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-08-15T15·28+0100 |
commit | b652ea2f036b6377addc04481162d889fac39450 (patch) | |
tree | 168f8684de695f767b2709eb9ec29e16c7baecc0 | |
parent | 38493b83ea1b2077a16fcdfb837fdacf1bff1a07 (diff) |
feat(tools): Add Terraform 0.12 to local tools r/33
This is pre-configured with the GCP provider.
-rw-r--r-- | default.nix | 1 | ||||
-rwxr-xr-x | tools/bin/__dispatch.sh | 3 | ||||
l--------- | tools/bin/terraform | 1 |
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 |