From 2198540b2ba70b182ca4719c66d24d04e0a3167d Mon Sep 17 00:00:00 2001 From: Jo Date: Tue, 26 Mar 2024 10:15:35 -0400 Subject: [PATCH] fixed tgenv path --- .github/workflows/iac_validate.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/iac_validate.yaml b/.github/workflows/iac_validate.yaml index 49acd0991..34208137b 100644 --- a/.github/workflows/iac_validate.yaml +++ b/.github/workflows/iac_validate.yaml @@ -17,8 +17,7 @@ jobs: tofu_version: ${{ env.tf_version }} - run: | git clone --depth 1 --branch main https://github.com/tgenv/tgenv.git ~/.tgenv - sudo ln -s ~/.tgenv/bin* /usr/local/bin - tgenv install ${{ env.tg_version }} + ~/.tgenv/bin/tgenv install ${{ env.tg_version }} - run: | cd ./tofu/environments/${{ env.environment }}/terraform/tfbackend terragrun init