mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
Added terraform-docs integration (#13)
* Add hook to create readme * Updated README
This commit is contained in:
parent
41d4951aff
commit
97a668640d
4 changed files with 67 additions and 4 deletions
|
|
@ -6,6 +6,14 @@
|
|||
files: (\.tf|\.tfvars)$
|
||||
exclude: \.terraform\/.*$
|
||||
|
||||
- id: terraform_docs
|
||||
name: Terraform Docs
|
||||
description: Inserts input and output documentation into README.md (using terraform-docs).
|
||||
entry: terraform_docs.sh
|
||||
language: script
|
||||
files: (\.tf)$
|
||||
exclude: \.terraform\/.*$
|
||||
|
||||
- id: terraform_validate_no_variables
|
||||
name: Terraform validate without variables
|
||||
description: Validates all Terraform configuration files without checking whether all required variables were set (basic check).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue