Files
pre-commit-terraform/.pre-commit-hooks.yaml
2023-12-15 17:50:40 +01:00

20 lines
393 B
YAML

- id: terraform-fmt
name: Format Terraform files
entry: /usr/local/bin/terraform
language: docker
args:
- "fmt"
pass_filenames: false
- id: terraform-docs
name: Genration of Terraform module documentation
entry: /usr/local/bin/terraform-docs
language: docker
args:
- "markdown"
- "table"
- "."
- "--output-file"
- "README.md"
pass_filenames: false