File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,15 @@ jobs:
2323 - run :
2424 name : " Install: tflint"
2525 command : |
26- apk add wget
27- wget https://github.com/wata727/tflint/releases/download/v0.5.4/tflint_linux_amd64.zip
26+ apk add jq wget
27+ # Get latest version of tflint
28+ pkg_arch=linux_amd64
29+ dl_url=$(curl -s https://api.github.com/repos/wata727/tflint/releases/latest | jq -r ".assets[] | select(.name | test(\"${pkg_arch}\")) | .browser_download_url")
30+ wget ${dl_url}
2831 unzip tflint_linux_amd64.zip
2932 mkdir -p /usr/local/tflint/bin
30- # TODO: CircleCI write to file for later run steps
31- #export PATH=/usr/local/tflint/bin:$PATH
33+ # Setup PATH for later run steps - ONLY for Bash and not in Bash
34+ #echo ' export PATH=/usr/local/tflint/bin:$PATH' >> $BASH_ENV
3235 echo "Installing tflint..."
3336 install tflint /usr/local/tflint/bin
3437 echo "Configuring tflint..."
Original file line number Diff line number Diff line change 1+ [ ![ CircleCI] ( https://circleci.com/gh/devops-workflow/terraform-local-boolean.svg?style=svg )] ( https://circleci.com/gh/devops-workflow/terraform-local-boolean )
2+
13Terraform module to simplify and expand boolean use
24===
35
You can’t perform that action at this time.
0 commit comments