Skip to content

Commit

Permalink
terragrunt manual install
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed Mar 26, 2024
1 parent aebf8d0 commit 6cf8aa0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/iac_validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6cf8aa0

Please sign in to comment.