Bläddra i källkod

Updates third party Pre-commit-Hook & TF Hook

We are using a couple different versions of [*Pre-commit*|https://github.com/pre-commit/pre-commit#pre-commit] & [*Pre-commit Terraform*|https://github.com/antonbabenko/pre-commit-terraform#collection-of-git-hooks-for-terraform-to-be-used-with-pre-commit-framework] that are deprecated.

*+Pre-commit-Terraform+*:
[v1.24.0...v1.74.1|https://github.com/antonbabenko/pre-commit-terraform/compare/v1.24.0...v1.74.1]

[v1.31.0...v1.74.1|https://github.com/antonbabenko/pre-commit-terraform/compare/v1.31.0...v1.74.1]

*+Pre-commit-hooks+*:
[v2.4.0...v4.3.0|https://github.com/pre-commit/pre-commit-hooks/compare/v2.4.0...v4.3.0]

[v3.0.0...v4.3.0|https://github.com/pre-commit/pre-commit-hooks/compare/v3.0.0...v4.3.0]

Done when versions are up streamlined and updated to mitigate any code drift, functionality, and security issues.
Jeremy Cooper [AFS MBP] 3 år sedan
förälder
incheckning
afd5805a2a

+ 4 - 2
thirdparty/terraform-aws-cloudtrail-bucket/.pre-commit-config.yaml

@@ -1,12 +1,14 @@
 ---
 repos:
 - repo: git://github.com/antonbabenko/pre-commit-terraform
-  rev: v1.24.0
+  rev: v1.74.1
   hooks:
     - id: terraform_fmt
     - id: terraform_docs
+    #- id: terraform_tfsec - Place holder until we are ready to implement fulltime
+    #- id: terraform_checkov - Place holder until we are ready to implement fulltime
 - repo: https://github.com/pre-commit/pre-commit-hooks
-  rev: v2.4.0
+  rev: v4.3.0
   hooks:
     - id: end-of-file-fixer
     - id: trailing-whitespace

+ 4 - 2
thirdparty/terraform-aws-cloudtrail-logging/.pre-commit-config.yaml

@@ -1,12 +1,14 @@
 ---
 repos:
 - repo: git://github.com/antonbabenko/pre-commit-terraform
-  rev: v1.24.0
+  rev: v1.74.1
   hooks:
     - id: terraform_fmt
     - id: terraform_docs
+    #- id: terraform_tfsec - Place holder until we are ready to implement fulltime
+    #- id: terraform_checkov - Place holder until we are ready to implement fulltime
 - repo: https://github.com/pre-commit/pre-commit-hooks
-  rev: v2.4.0
+  rev: v4.3.0
   hooks:
     - id: end-of-file-fixer
     - id: trailing-whitespace

+ 3 - 2
thirdparty/terraform-aws-s3logging-bucket/.pre-commit-config.yaml

@@ -1,6 +1,6 @@
 repos:
   - repo: https://github.com/antonbabenko/pre-commit-terraform
-    rev: v1.31.0
+    rev: v1.74.1
     hooks:
       - id: terraform_docs
         always_run: true
@@ -16,6 +16,7 @@ repos:
         alias: terraform_tflint_nocreds
         name: terraform_tflint_nocreds
       - id: terraform_tfsec
+      #- id: terraform_checkov - Place holder until we are ready to implement fulltime
   - repo: local
     hooks:
       - id: terraform_validate
@@ -40,7 +41,7 @@ repos:
         files: \.tf(vars)?$
         exclude: examples
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v3.0.0
+    rev: v4.3.0
     hooks:
       - id: check-case-conflict
       - id: check-json