From 6cf8aa09b5bac1f7f51297222313b08ceeab0b88 Mon Sep 17 00:00:00 2001 From: Jo Date: Tue, 26 Mar 2024 11:49:59 -0400 Subject: [PATCH] terragrunt manual install --- .github/workflows/iac_validate.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/iac_validate.yaml b/.github/workflows/iac_validate.yaml index 94f2aa82a..1d06f84df 100644 --- a/.github/workflows/iac_validate.yaml +++ b/.github/workflows/iac_validate.yaml @@ -16,10 +16,11 @@ jobs: uses: opentofu/setup-opentofu@v1 with: tofu_version: ${{ env.tf_version }} - - name: install tgenv - run: git clone --depth 1 --branch main https://github.com/tgenv/tgenv.git ~/.tgenv - name: install terragrunt - run: ~/.tgenv/bin/tgenv install ${{ env.tg_version }} + run: | + sudo wget -q -O /bin/terragrunt "https://github.com/gruntwork-io/terragrunt/releases/download/v${{ env.tg_version }}/terragrunt_linux_amd64" + sudo chmod +x /bin/terragrunt + terragrunt -v - name: validate run: | cd ./tofu/environments/${{ env.environment }}/terraform/tfbackend