Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require terraform-docs runs in serial #33

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions .pre-commit-hooks.yaml
Expand Up @@ -9,6 +9,7 @@
- id: terraform_docs
name: Terraform docs
description: Inserts input and output documentation into README.md (using terraform-docs).
require_serial: true
entry: terraform_docs.sh
args: [--args=--with-aggregate-type-defaults]
language: script
Expand All @@ -18,18 +19,20 @@
- id: terraform_docs_without_aggregate_type_defaults
name: Terraform docs (without aggregate type defaults)
description: Inserts input and output documentation into README.md (using terraform-docs).
require_serial: true
entry: terraform_docs.sh
language: script
files: (\.tf)$
exclude: \.terraform\/.*$

- id: terraform_docs_replace
name: Terraform docs (overwrite README.md)
language: python
description: Overwrite content of README.md with terraform-docs
require_serial: true
entry: terraform_docs_replace
language: python
files: (\.tf)$
exclude: \.terraform\/.*$
description: Overwrite content of README.md with terraform-docs

- id: terraform_validate_no_variables
name: Terraform validate without variables
Expand Down