chore: pre-commit config

This commit is contained in:
David FILLON committed 2024-05-02 19:44:05 +02:00
1 parent 63ab9d90a1
commit a7ec6de10d
1 file changed
+4
+4
View File
@@ -4,6 +4,9 @@ repos:
hooks:
- id: terraform_fmt
- id: terraform_validate
args:
- --hook-config=--parallelism-limit=1
- --hook-config=--retry-once-with-cleanup=true
- id: terraform_tflint
args:
- '--args=--recursive'
@@ -15,6 +18,7 @@ repos:
- id: terraform_checkov
args:
- '--args=--quiet'
- '--args=--compact'
- '--args=--skip-check CKV_AWS_229' # Ensure no NACL allow ingress from 0.0.0.0:0 to port 21
- '--args=--skip-check CKV_AWS_230' # Ensure no NACL allow ingress from 0.0.0.0:0 to port 20
- '--args=--skip-check CKV_AWS_231' # Ensure no NACL allow ingress from 0.0.0.0:0 to port 3389