Skip to content

Commit

Permalink
terragrunt: removing terraform dependency (#103670)
Browse files Browse the repository at this point in the history
Since terragrunt would trigger downloading all the plugins and basing on terraform 0.12 branch whereas people could use it against 0.11 or 0.13 terraform.
  • Loading branch information
sevenfourk committed Nov 18, 2020
1 parent 77ff58e commit 45ed0b7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkgs/applications/networking/cluster/terragrunt/default.nix
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, terraform }:
{ lib, buildGoModule, fetchFromGitHub, makeWrapper }:

buildGoModule rec {
pname = "terragrunt";
Expand All @@ -19,11 +19,6 @@ buildGoModule rec {

buildFlagsArray = [ "-ldflags=" "-X main.VERSION=v${version}" ];

postInstall = ''
wrapProgram $out/bin/terragrunt \
--set TERRAGRUNT_TFPATH ${lib.getBin terraform.full}/bin/terraform
'';

meta = with lib; {
description = "A thin wrapper for Terraform that supports locking for Terraform state and enforces best practices";
homepage = "https://github.com/gruntwork-io/terragrunt/";
Expand Down

0 comments on commit 45ed0b7

Please sign in to comment.