Commit graph

41 commits

Author SHA1 Message Date
T. Hinrichsmeyer
e059c5859b
feat: spport .tofu files (#6)
Signed-off-by: T. Hinrichsmeyer <t.hinrichsmeyer@ndr.de>
2024-10-16 12:15:37 +02:00
Nikolai Mishin
f146463ac8 fix: entry for tofu_docs_replace
Signed-off-by: Nikolai Mishin <sanduku.default@gmail.com>
2024-09-21 21:57:11 +02:00
Alexander Sharov
527cbe98cb feat: rename pre-commit-terraform to pre-commit-opentofu, pt VIII 2024-01-17 01:10:38 +01:00
Alexander Sharov
8c07b3a56d feat: rename pre-commit-terraform to pre-commit-opentofu, pt VI 2024-01-17 00:56:38 +01:00
Alexander Sharov
233f6c6c8b feat: rename pre-commit-terraform to pre-commit-opentofu, pt III 2024-01-17 00:44:43 +01:00
Arnau Llamas
f3c819a747
feat(trivy): Add terraform_trivy hook and deprecate terraform_tfsec (#606) 2023-12-15 16:54:13 +02:00
Maksym Vlasov
4253162614
fix: Run terraform_tfsec only on terraform code changes (#571) 2023-09-15 18:44:09 +03:00
Anton Babenko
e4e9a73d7e
feat: Added terraform_wrapper_module_for_each hook (#376) 2022-05-02 19:59:08 +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
a80d3835d4
chore: fix bug intoduced in #316 (#335) 2022-02-10 16:51:09 +01:00
Maksym Vlasov
c5f2a618a8
chore: Improved code structure (moved hooks into a separate dir) (#316) 2022-01-06 16:09:51 +01:00
Carlos Miguel Bustillo Rodríguez
66401d93f4
fix: Check all directories with changes and pass all args in terrascan hook (#305) 2021-12-22 19:44:53 +01:00
Maksym Vlasov
2e8dcf9298
fix: Speedup terrascan hook up to x3 times in big repos (#307) 2021-12-21 20:50:12 +01:00
Maksym Vlasov
b431a43ffa
fix: Properly exclude .terraform directory with checkov hook (#306) 2021-12-21 20:18:52 +01:00
Maksym Vlasov
cff42e6d6f
feat: Add infracost_breakdown hook (#252) 2021-10-26 13:12:01 +02:00
Maksym Vlasov
71f7c347c9
fix: TFSec outputs the same results multiple times (#237) 2021-10-14 13:35:19 +02:00
Sergei Ivanov
d69e86d48b
feat: Add new hook for terraform providers lock operation (#173) 2021-10-04 13:16:15 +02:00
Javier Collado
3404eede1e
fix: terraform_tflint hook executes in a serial way to run less often (#211) 2021-10-01 13:29:07 +02:00
Sergei Ivanov
b67dbd9049
fix: trigger terraform-docs on changes in lock files (#228) 2021-09-17 16:48:24 +02:00
Cesar Rodriguez
fee2387b6c
feat: Adds support for Terrascan (#195) 2021-04-22 22:15:00 +02:00
Anton Babenko
827af52cd2
fix: Terraform validate for submodules (#172) 2021-02-20 20:18:07 +01:00
Anton Babenko
6f3b12514b
fix: terraform-docs version 0.10 removed with-aggregate-type-defaults (#150) 2020-09-23 22:11:09 +02:00
Anton Babenko
293b64c0ea
feat: Add checkov support (#143) 2020-09-08 15:10:56 +02:00
Prahalad Ramji
f6caf2195a
feat: add terragrunt validate hook (#134) 2020-08-19 12:01:42 +02:00
Jon Proietti
2be8fe5453
feat: Support for TFSec (#103) 2020-04-23 16:56:33 +02:00
Nick M
7694fb9b9a
fix: Change terraform_validate hook functionality for subdirectories with terraform files (#100)
* Update terraform_validate.sh:
-Change to the directory before running terraform validate to use the Terraform
 configuration for the appropriate working directory.

* Neglected to change the terraform validate call to use the default of the
current directory.

* Several changes to improve functionality:
- Switch to checking the path for '*.tf' instead of always checking the current
  directory.
- Try to find a '.terraform' directory (which indicates a `terraform init`) and
  change to that directory before running `terraform validate`.

* Fix the description for the terraform_validate hook to reflect changes that were
made in:
35e0356188

* - Clean up comments.
- Adjust variable names to better reflect what they are holding.
2020-04-04 08:17:25 +02:00
Costin GALAN
e0d3d61422 Added support for TFLint with --deep parameter (#53)
Added support for TFLint (https://github.com/wata727/tflint).

Signed-off-by: Costin Galan <costin.galan@mambu.com>
2019-08-20 21:31:28 +02:00
Scott Crooks
d8dfc2c034 Formatter for Terragrunt HCL files (#60)
* Formatter for Terragrunt HCL files

* Adding Terragrunt documentation
2019-08-20 20:38:40 +02:00
Paweł Szczepaniak
35e0356188 Upgraded to work with Terraform >= 0.12 (#44) 2019-06-17 13:09:31 +02:00
Chris Gilmer
57d924d5d4 Require terraform-docs runs in serial to avoid pre-commit doing parallel operations on similar file paths 2019-02-08 15:24:06 -08:00
rothandrew
debe93a82b Address requested changes 2018-12-14 09:23:54 -05:00
rothandrew
9aa971c069 Add new hook for running terraform-docs with replacing README.md from doc in main.tf 2018-12-13 22:29:59 -05:00
Anton Babenko
e2760caf8d Added followup after #25 2018-12-11 20:21:49 +01:00
Anton Babenko
8dd603be09 Updated README 2018-05-24 22:12:04 +02:00
Anton Babenko
97a668640d
Added terraform-docs integration (#13)
* Add hook to create readme

* Updated README
2018-05-16 20:04:48 +02:00
Anton Babenko
5f3ac96d44 Added scripts to validate terraform files 2018-01-24 12:13:51 +01:00
Anton Babenko
bd50003bd7
Added formatting for tfvars (fixes #4) (#6) 2018-01-15 16:12:51 +01:00
Anton Babenko
42cd6c44f6 Renamed shell script file to the correct one 2017-06-08 11:02:21 +02:00
Anton Babenko
837203f7b8 Updated .pre-commit-hooks.yaml 2017-06-08 10:31:58 +02:00
Anton Babenko
b50c154638 Copied to .pre-commit-hooks.yaml for compatibility (closes #1) 2017-01-25 10:28:51 +01:00