Skip to content

Commit

Permalink
tgenv error
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed Mar 26, 2024
1 parent 2198540 commit aebf8d0
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/iac_validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: opentofu/setup-opentofu@v1
- name: install opentofu
uses: opentofu/setup-opentofu@v1
with:
tofu_version: ${{ env.tf_version }}
- run: |
git clone --depth 1 --branch main https://github.com/tgenv/tgenv.git ~/.tgenv
~/.tgenv/bin/tgenv install ${{ env.tg_version }}
- run: |
- 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 }}
- name: validate
run: |
cd ./tofu/environments/${{ env.environment }}/terraform/tfbackend
terragrun init
terragrunt validate
Expand Down

0 comments on commit aebf8d0

Please sign in to comment.