Skip to content

Commit

Permalink
Update tf_scan.yml (#607)
Browse files Browse the repository at this point in the history
* Update tf_scan.yml

Fix terrascan curl call.

* Update tf_scan.yml
  • Loading branch information
lasv-az authored Mar 13, 2023
1 parent 66aec8e commit cb029ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/sample-terraform/tf_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 0.2
phases:
install:
commands:
- curl -L "$(curl -s https://api.github.com/repos/accurics/terrascan/releases/latest | grep -o -E "https://.+?_Linux_x86_64.tar.gz")" > terrascan.tar.gz
- curl -L "$(curl -s https://api.github.com/repositories/103084166/releases/latest | grep -o -E "https:\/\/.+?_Linux_x86_64.tar.gz")" > terrascan.tar.gz
- tar -xf terrascan.tar.gz terrascan && rm terrascan.tar.gz
- install terrascan /usr/local/bin && rm terrascan
build:
Expand Down

0 comments on commit cb029ef

Please sign in to comment.