Skip to content

Commit

Permalink
tflint and tfsec
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyclenerd committed Jul 10, 2023
1 parent dd48ae5 commit e4af408
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,14 @@ jobs:
- name: Validate
run: terraform validate
- name: Formatting
run: terraform fmt -check
run: terraform fmt -recursive -check -diff -no-color
# https://github.com/marketplace/actions/setup-tflint
- name: Lint
uses: terraform-linters/setup-tflint@v3
with:
tflint_version: latest
- id: tflint
run: tflint --recursive --format compact
# https://github.com/marketplace/actions/tfsec-action
- name: tfsec
uses: aquasecurity/tfsec-action@v1.0.0

0 comments on commit e4af408

Please sign in to comment.