Skip to content

Commit

Permalink
fix terraform pre-commit args for terraform-docs (#714)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
barryib authored Jan 28, 2020
1 parent de90ff5 commit 065158a
Show file tree
Hide file tree
Showing 5 changed files with 113 additions and 95 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Install Deps
run: brew install pre-commit terraform-docs terraform
run: brew update && brew install pre-commit terraform-docs terraform
- name: Check Docs
run: pre-commit run --show-diff-on-failure --all-files terraform_docs

Expand Down
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
repos:
- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.22.0
rev: v1.24.0
hooks:
- id: terraform_fmt
- id: terraform_docs
args: [--args=--with-aggregate-type-defaults --no-escape]
- id: terraform_validate
- id: terraform_tflint
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ project adheres to [Semantic Versioning](http://semver.org/).

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

# History

Expand Down
Loading

0 comments on commit 065158a

Please sign in to comment.