terragrunt: removing terraform dependency (#103670)

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.
gstqt5
sevenfourk 2020-11-18 19:58:28 +02:00 committed by GitHub
parent 77ff58e55e
commit 45ed0b7018
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, terraform }:
{ lib, buildGoModule, fetchFromGitHub, makeWrapper }:
buildGoModule rec {
pname = "terragrunt";
@ -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/";