Skip to content

Commit 065158a

Browse files
authored
fix terraform pre-commit args for terraform-docs (#714)
* fix terraform pre-commit args for terraform-docs * fix docs with terraform-docs 0.8.x Signed-off-by: Thierno BARRY <[email protected]> * resolve confliting filesx * update homebrew formulas before install * update changelog
1 parent de90ff5 commit 065158a

File tree

5 files changed

+113
-95
lines changed

5 files changed

+113
-95
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@master
2727
- name: Install Deps
28-
run: brew install pre-commit terraform-docs terraform
28+
run: brew update && brew install pre-commit terraform-docs terraform
2929
- name: Check Docs
3030
run: pre-commit run --show-diff-on-failure --all-files terraform_docs
3131

.pre-commit-config.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
repos:
22
- repo: git://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.22.0
3+
rev: v1.24.0
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_docs
7-
args: [--args=--with-aggregate-type-defaults --no-escape]
87
- id: terraform_validate
98
- id: terraform_tflint

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
1111

1212
- Include ability to configure custom os-specific command for waiting until kube cluster is healthy (@sanjeevgiri)
1313
- Disable creation of ingress rules if worker nodes security groups are exists (@andjelx)
14+
- [CI] Update pre-commit and re-generate docs to work with terraform-docs >= 0.8.1 (@barryib)
1415

1516
# History
1617

0 commit comments

Comments
 (0)