File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,15 @@ jobs:
23
23
- run :
24
24
name : " Install: tflint"
25
25
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}
28
31
unzip tflint_linux_amd64.zip
29
32
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
32
35
echo "Installing tflint..."
33
36
install tflint /usr/local/tflint/bin
34
37
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
+
1
3
Terraform module to simplify and expand boolean use
2
4
===
3
5
You can’t perform that action at this time.
0 commit comments