Skip to content

Commit 1750003

Browse files
authored
Merge pull request #33 from chrisgilmerproj/run_terraform_docs_in_serial
Require terraform-docs runs in serial
2 parents 3cdf8ec + 57d924d commit 1750003

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.pre-commit-hooks.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- id: terraform_docs
1010
name: Terraform docs
1111
description: Inserts input and output documentation into README.md (using terraform-docs).
12+
require_serial: true
1213
entry: terraform_docs.sh
1314
args: [--args=--with-aggregate-type-defaults]
1415
language: script
@@ -18,18 +19,20 @@
1819
- id: terraform_docs_without_aggregate_type_defaults
1920
name: Terraform docs (without aggregate type defaults)
2021
description: Inserts input and output documentation into README.md (using terraform-docs).
22+
require_serial: true
2123
entry: terraform_docs.sh
2224
language: script
2325
files: (\.tf)$
2426
exclude: \.terraform\/.*$
2527

2628
- id: terraform_docs_replace
2729
name: Terraform docs (overwrite README.md)
28-
language: python
30+
description: Overwrite content of README.md with terraform-docs
31+
require_serial: true
2932
entry: terraform_docs_replace
33+
language: python
3034
files: (\.tf)$
3135
exclude: \.terraform\/.*$
32-
description: Overwrite content of README.md with terraform-docs
3336

3437
- id: terraform_validate_no_variables
3538
name: Terraform validate without variables

0 commit comments

Comments
 (0)