Commit graph

49 commits

Author SHA1 Message Date
Jon McEwen
4a0e1fed00
feat(terraform_docs): Add terraform-docs default markers support and describe how to migrate to them (#609)
---------

Co-authored-by: Jon M <arxro008@euro.ngc.com>
Co-authored-by: George L. Yermulnik <yz@yz.kiev.ua>
Co-authored-by: Maksym Vlasov <MaxymVlasov@users.noreply.github.com>
2023-12-21 22:00:20 +02:00
Arnau Llamas
f3c819a747
feat(trivy): Add terraform_trivy hook and deprecate terraform_tfsec (#606) 2023-12-15 16:54:13 +02:00
Felix Wolfheimer
6e2bb2e2a1
fix(terraform_validate): Run terraform init on "Missing required provider" error (#586) 2023-11-16 20:58:58 +02:00
Maksym Vlasov
4ea6b14c6f
fix: Suppress duplicate error messages in terraform_validate (#577)
Co-authored-by: George L. Yermulnik <yz@yz.kiev.ua>
2023-10-11 14:57:15 +03:00
Nicholas Henry
941177e066
fix: Fix terraform_wrapper_module_for_each for when resource name contains 'variable' (#573) 2023-09-22 09:18:04 +02:00
Maksym Vlasov
19188e5c38
fix: Extend terraform_validate --retry-once-with-cleanup errors list (#566) 2023-09-04 16:58:00 +03:00
Roma Ryzhyi
dc12be1faf
fix: Fixed ordering issue in terraform_wrapper_module_for_each hook (#565) 2023-09-04 12:09:30 +02:00
Roma Ryzhyi
456cc7616a
feat: Skip legacy modules (with provider block) in terraform_wrapper_module_for_each hook (#560) 2023-08-25 16:12:59 +02:00
Roma Ryzhyi
6fd4263f59
fix: Fix terraform_wrapper_module_for_each hook heredoc vars defaults (#554) 2023-08-10 20:35:43 +02:00
Roma Ryzhyi
f24b3fab71
fix: Fix the terraform_wrapper_module_for_each hook for modules without outputs or variables (#552)
Co-authored-by: Anton Babenko <anton@antonbabenko.com>
2023-08-10 13:44:01 +02:00
Sebastian Melchior
d0d08ac63c
feat: Speedup terraform_validate - firstly try run validate without checking is .terraform/ is valid (#524) 2023-06-12 18:59:13 +03:00
Maksym Vlasov
2426b527ae
feat(terraform_providers_lock): Add --mode option and deprecate previous workflow (#528)
Co-authored-by: George L. Yermulnik <yz@yz.kiev.ua>
2023-05-30 19:02:16 +03:00
Maksym Vlasov
6bfc5bf767
fix: Fix terraform_providers_lock hook broken in v1.79.0 (#521) 2023-05-09 18:35:08 +03:00
Luke
1e9debc02f
feat: TFLint: Add --hook-config=--delegate-chdir to use tflint -chdir (#512)
Co-authored-by: Maksym Vlasov <MaxymVlasov@users.noreply.github.com>
2023-05-08 18:32:06 +03:00
Luke
49974ab9ef
fix: Speed up x2 TFLint hook execution in dirs with violations (#514)
Co-authored-by: Maksym Vlasov <MaxymVlasov@users.noreply.github.com>
2023-04-28 18:57:46 +03:00
Anton Babenko
ddc0d81d31
fix: Fixed spacing in terraform_wrapper_module_for_each hook (#503) 2023-04-09 10:40:56 +02:00
Jérémy Marmol
29a8c00251
fix: Pass command line arguments to tflint init (#487) 2023-02-03 16:44:24 +01:00
Mitchell Pomery
85e75dbab3
Make text colour work in MacOS zsh (#450) 2022-11-26 19:39:18 +01:00
Bjorn Olsen
96fe3ef657
feat: Add --retry-once-with-cleanup to terraform_validate (#441) 2022-11-26 19:38:21 +01:00
Maksym Vlasov
a8bcaa7975
fix: Describe migration instructions from terraform_docs_replace (#451) 2022-11-26 19:35:58 +01:00
Maksym Vlasov
a4466425fb
feat: Add support for version constraints in tfupdate (#437) 2022-10-06 09:16:29 -07:00
John Schutz
abc2570e42
feat: Allow running container as non-root UID/GID for ownership issues (docker) (#433)
Co-authored-by: George L. Yermulnik <yz@yz.kiev.ua>
Co-authored-by: MaxymVlasov <MaxymVlasov@users.noreply.github.com>
Co-authored-by: Anton Babenko <anton@antonbabenko.com>
2022-09-07 14:19:52 +02:00
Anton Babenko
fe29c6c71a
fix: Fixed url for wrappers in generated README (terraform_wrapper_module_for_each) (#429) 2022-09-02 09:51:03 +02:00
MaxymVlasov
7ac2736ab9 fix: Passed scenario in terraform_docs hook now works as expected 2022-07-13 18:23:25 +03:00
Maksym Vlasov
2b35cad50f fix: Add --env-vars, deprecate --envs (#410) 2022-07-12 21:37:53 +03:00
Maksym Vlasov
b12f0c662c feat: Suppress color for all hooks if PRE_COMMIT_COLOR=never set (#409) 2022-07-12 21:37:53 +03:00
Maksym Vlasov
d4902313ce feat: Add support for set env vars inside hook runtime (#408) 2022-07-12 21:37:53 +03:00
Maksym Vlasov
c4f8251d30 fix: Add --tf-init-args, deprecate --init-args (#407) 2022-07-12 21:37:53 +03:00
Maksym Vlasov
32b232f039 feat: Allow terraform_providers_lock specify terraform init args (#406) 2022-07-12 21:37:53 +03:00
Maksym Vlasov
0f25122485 chore: Implement DRY for HOOK_ID (#405) 2022-07-12 21:37:53 +03:00
Maksym Vlasov
2623b7b8be chore: Rewrite terraform_validate to common::per_dir_hook (#404)
* Refactor: Rewrite `terraform_validate` to `common::per_dir_hook`
* Add ability to specify `--hook-config` in future
2022-07-12 21:37:53 +03:00
Olivier Brisse
ae88ed73cf
feat: Add __GIT_WORKING_DIR__ to terraform_checkov (#399) 2022-06-27 19:57:09 +03:00
Nicholas Henry
d9f482c0c6
fix: Pre-commit-terraform terraform_validate hook (#401) 2022-06-21 22:59:41 +02:00
Maksym Vlasov
1b9476a279
fix: Fixed terraform_fmt with tfenv, when terraform default version is not specified (#389) 2022-05-25 15:37:55 +02:00
Lawrence
962054b923
feat: When a config file is given, do not specify formatter on cli (terraform_docs) (#386) 2022-05-25 14:31:24 +02:00
Anton Babenko
e4e9a73d7e
feat: Added terraform_wrapper_module_for_each hook (#376) 2022-05-02 19:59:08 +02:00
Maksym Vlasov
297cc75787
fix: Fixed tfupdate to work in all cases, not only pre-commit run --all (#375) 2022-04-28 09:06:32 +02:00
Maksym Vlasov
caa01c30b3
feat: Allow env vars expansion in --args section for all hooks (#363) 2022-04-26 12:33:58 +02:00
Maksym Vlasov
944a2e5fef
feat: Removed coreutils (realpath) from dependencies for MacOS (#368) 2022-04-18 18:17:15 +02:00
Bruno Ferreira
e3a98345bb
feat: Added terraform_checkov (run per folder), deprecated checkov hook (#290) 2022-04-15 19:26:33 +02:00
Julien Rottenberg
ef7a0f2b46
feat: Added support for tfupdate to update version constraints in Terraform configurations (#342) 2022-04-13 19:25:04 +02:00
Maksym Vlasov
d31cb69363
fix: Improve tflint --init command execution (#361) 2022-04-13 18:10:40 +02:00
Andrew Glenn
1aff30f2a4
feat: Adding init to terraform_tflint hook (#352) 2022-04-13 16:15:15 +02:00
Maksym Vlasov
4ad825d8d3
fix: Make hooks bash 3.2 compatible (#339) 2022-03-31 14:38:51 +02:00
Maksym Vlasov
579dc45fb4
feat: Improved speed of pre-commit run -a for multiple hooks (#338) 2022-02-10 19:48:17 +01:00
Carlos Miguel Bustillo Rodríguez
7e7c91643e
feat: Improve performance during pre-commit --all (-a) run (#327) 2022-02-10 16:53:37 +01:00
Maksym Vlasov
47229003ff
chore: Add hadolint check for Dockerfiles (#322)
Co-authored-by: Balazs Hamorszky <balihb@gmail.com>
2022-01-11 18:20:29 +01:00
Maksym Vlasov
321fb16693
chore: Document functions (based on google style guide) (#317) 2022-01-11 14:54:42 +01:00
Maksym Vlasov
c5f2a618a8
chore: Improved code structure (moved hooks into a separate dir) (#316) 2022-01-06 16:09:51 +01:00