mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
Add new hook for running terraform-docs with replacing README.md from doc in main.tf
This commit is contained in:
parent
7acd99eeb7
commit
9aa971c069
6 changed files with 102 additions and 40 deletions
|
|
@ -23,6 +23,14 @@
|
|||
files: (\.tf)$
|
||||
exclude: \.terraform\/.*$
|
||||
|
||||
- id: terraform_docs_replace
|
||||
name: Generate documentation for Terraform modules
|
||||
language: python
|
||||
entry: terraform_docs_replace
|
||||
files: (\.tf)$
|
||||
exclude: \.terraform\/.*$
|
||||
description: Generates README.md files for Terraform modules
|
||||
|
||||
- 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