forked from github/pre-commit-opentofu
fix: Terraform validate for submodules (#172)
This commit is contained in:
parent
4f6e849059
commit
827af52cd2
2 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: git://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v3.3.0
|
||||
rev: v3.4.0
|
||||
hooks:
|
||||
- id: check-yaml
|
||||
- id: end-of-file-fixer
|
||||
|
|
@ -9,7 +9,7 @@ repos:
|
|||
- id: check-merge-conflict
|
||||
- id: check-executables-have-shebangs
|
||||
- repo: git://github.com/jumanjihouse/pre-commit-hooks
|
||||
rev: 2.1.4
|
||||
rev: 2.1.5
|
||||
hooks:
|
||||
- id: shfmt
|
||||
args: ['-l', '-i', '2', '-ci', '-sr', '-w']
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
- id: terraform_validate
|
||||
name: Terraform validate
|
||||
description: Validates all Terraform configuration files.
|
||||
require_serial: true
|
||||
entry: terraform_validate.sh
|
||||
language: script
|
||||
files: (\.tf|\.tfvars)$
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue