Skip to content

Commit a1b71d8

Browse files
add terrascan
1 parent bb7c157 commit a1b71d8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/terraform.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,15 @@ jobs:
9696
- name: Run TFLint
9797
run: tflint -f compact --recursive
9898

99+
- name: Run Terrascan
100+
id: terrascan
101+
uses: tenable/terrascan-action@main
102+
with:
103+
iac_type: 'terraform'
104+
iac_version: 'v14'
105+
policy_type: 'google'
106+
only_warn: true
107+
99108
- name: Terraform plan [pull_request]
100109
id: plan-pr
101110
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)