Skip to content

Commit

Permalink
Merge pull request #33 from chrisgilmerproj/run_terraform_docs_in_serial
Browse files Browse the repository at this point in the history
Require terraform-docs runs in serial
  • Loading branch information
antonbabenko authored Feb 18, 2019
2 parents 3cdf8ec + 57d924d commit 1750003
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
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

0 comments on commit 1750003

Please sign in to comment.