|
1 | 1 | repos:
|
2 | 2 | - repo: https://github.com/antonbabenko/pre-commit-terraform
|
3 |
| - rev: v1.64.0 |
| 3 | + rev: v1.89.0 |
4 | 4 | hooks:
|
5 |
| - - id: terraform_fmt |
6 |
| - - id: terraform_validate |
7 |
| - - id: terraform_docs |
| 5 | + - id: terraform_checkov |
8 | 6 | args:
|
9 |
| - - '--args=--lockfile=false' |
| 7 | + - --args=--skip-check CKV_AWS_23 |
| 8 | + - --args=--skip-check CKV_AWS_18 |
| 9 | + - --args=--skip-check CKV_AWS_109 |
| 10 | + - --args=--skip-check CKV_AWS_111 |
| 11 | + - --args=--skip-check CKV_AWS_144 |
| 12 | + - --args=--skip-check CKV_AWS_145 |
| 13 | + - --args=--skip-check CKV_AWS_149 |
| 14 | + - --args=--skip-check CKV_AWS_274 |
| 15 | + - --args=--skip-check CKV_AWS_356 |
| 16 | + - --args=--skip-check CKV2_AWS_5 |
| 17 | + - --args=--skip-check CKV2_AWS_57 |
| 18 | + - --args=--skip-check CKV2_AWS_61 |
| 19 | + - --args=--skip-check CKV2_AWS_62 |
| 20 | + - --args=--skip-check CKV2_AWS_65 |
| 21 | + - --args=--skip-check CKV_TF_1 |
| 22 | + - --args=--skip-check CKV2_GHA_1 |
| 23 | + - id: terraform_docs |
| 24 | + - id: terraform_docs_without_aggregate_type_defaults |
| 25 | + - id: terraform_fmt |
10 | 26 | - id: terraform_tflint
|
11 |
| - args: |
12 |
| - - '--args=--only=terraform_deprecated_interpolation' |
13 |
| - - '--args=--only=terraform_deprecated_index' |
14 |
| - - '--args=--only=terraform_unused_declarations' |
15 |
| - - '--args=--only=terraform_comment_syntax' |
16 |
| - - '--args=--only=terraform_documented_outputs' |
17 |
| - - '--args=--only=terraform_documented_variables' |
18 |
| - - '--args=--only=terraform_typed_variables' |
19 |
| - - '--args=--only=terraform_module_pinned_source' |
20 |
| - - '--args=--only=terraform_naming_convention' |
21 |
| - - '--args=--only=terraform_required_version' |
22 |
| - - '--args=--only=terraform_required_providers' |
23 |
| - - '--args=--only=terraform_standard_module_structure' |
24 |
| - - '--args=--only=terraform_workspace_remote' |
25 |
| - - repo: https://github.com/pre-commit/pre-commit-hooks |
26 |
| - rev: v4.1.0 |
27 |
| - hooks: |
28 |
| - - id: check-merge-conflict |
29 |
| - - id: end-of-file-fixer |
| 27 | + - id: terraform_trivy |
| 28 | + # - id: terraform_validate |
| 29 | + # - id: terrascan |
| 30 | + # args: |
| 31 | + # - --args=--non-recursive |
| 32 | + # - --args=--skip-rules="AC_AWS_0500" |
0 commit comments