Skip to content

Commit

Permalink
fix: add terraform-configuration-aliases-action action to work around…
Browse files Browse the repository at this point in the history
… bug in terraform

Workaround for hashicorp/terraform#28490
  • Loading branch information
umglurf committed Sep 25, 2022
1 parent f5c6c60 commit 5faa707
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,16 @@ jobs:
echo "::set-output name=exit_code::${?}"
continue-on-error: true

# workaround for https://github.com/hashicorp/terraform/issues/28490
- uses: actions/setup-go@v3
with:
go-version: '1.16.15'
cache: true
- name: 'Run terraform configuration aliases'
uses: bendrucker/terraform-configuration-aliases-action@v1
with:
path: ${{ inputs.working-directory }}

- name: 'Run: terraform validate'
id: validate
shell: bash
Expand Down

0 comments on commit 5faa707

Please sign in to comment.