repos: - repo: https://github.com/antonbabenko/pre-commit-terraform rev: v1.89.1 hooks: - id: terraform_fmt - id: terraform_validate - id: terraform_tflint args: - '--args=--recursive' - id: terraform_docs args: - --hook-config=--add-to-existing-file=true - --hook-config=--create-file-if-not-exist=true - --hook-config=--use-standard-markers=true - id: terraform_checkov args: - '--args=--quiet' - '--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 - '--args=--skip-check CKV_AWS_232' # Ensure no NACL allow ingress from 0.0.0.0:0 to port 22 - '--args=--skip-check CKV_AWS_352' # Ensure NACL ingress does not allow all Ports - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: check-merge-conflict - id: trailing-whitespace - id: end-of-file-fixer