We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f1bf7 commit dc37e3dCopy full SHA for dc37e3d
.github/actions/terraform-validate/action.yml
@@ -27,8 +27,11 @@ runs:
27
id: setup
28
run: |
29
${{ github.action_path }}/../.helpers/box.sh "Setting up build environment"
30
- echo -e "Installing TFLint"
31
- curl -L "$(curl -Ls https://api.github.com/repos/terraform-linters/tflint/releases/74267234 | grep -o -E "https://.+?_linux_amd64.zip")" -o tflint.zip && unzip tflint.zip && rm tflint.zip
+ curl -Ls https://api.github.com/repos/terraform-linters/tflint/releases/74267234 \
+ | jq -r '.assets[] | select(.name == "tflint_linux_amd64.zip") | .browser_download_url' \
32
+ | xargs curl -L -o tflint.zip
33
+ unzip tflint.zip
34
+ rm tflint.zip
35
echo -e "\n"
36
shell: bash
37
working-directory: "${{ inputs.build_path }}"
0 commit comments