mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
54c810e1a9
* Add support for tf 1.3+ * Bump min version * Bump blueprint version
41 lines
1.6 KiB
YAML
41 lines
1.6 KiB
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.3.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
args: ['--markdown-linebreak-ext=md']
|
|
- id: end-of-file-fixer
|
|
- id: check-merge-conflict
|
|
- id: detect-private-key
|
|
- id: detect-aws-credentials
|
|
args: ['--allow-missing-credentials']
|
|
- repo: https://github.com/antonbabenko/pre-commit-terraform
|
|
rev: v1.76.0
|
|
hooks:
|
|
- id: terraform_fmt
|
|
- id: terraform_docs
|
|
args:
|
|
- '--args=--lockfile=false'
|
|
- id: terraform_validate
|
|
exclude: deploy
|
|
- id: terraform_tflint
|
|
args:
|
|
- '--args=--only=terraform_deprecated_interpolation'
|
|
- '--args=--only=terraform_deprecated_index'
|
|
- '--args=--only=terraform_unused_declarations'
|
|
- '--args=--only=terraform_comment_syntax'
|
|
- '--args=--only=terraform_documented_outputs'
|
|
- '--args=--only=terraform_documented_variables'
|
|
- '--args=--only=terraform_typed_variables'
|
|
- '--args=--only=terraform_module_pinned_source'
|
|
- '--args=--only=terraform_naming_convention'
|
|
- '--args=--only=terraform_required_version'
|
|
- '--args=--only=terraform_required_providers'
|
|
- '--args=--only=terraform_standard_module_structure'
|
|
- '--args=--only=terraform_workspace_remote'
|
|
- id: terraform_tfsec
|
|
files: ^examples/ # only scan `examples/*` which are the implementation
|
|
args:
|
|
- --args=--config-file=__GIT_WORKING_DIR__/tfsec.yaml
|
|
- --args=--concise-output
|