diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 443ecb8..2490207 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -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