2021-09-13 17:22:53 +03:00
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/adrienverge/yamllint.git
|
2022-04-06 17:29:35 +03:00
|
|
|
rev: v1.26.3
|
2021-09-13 17:22:53 +03:00
|
|
|
hooks:
|
|
|
|
- id: yamllint
|
|
|
|
args: [-c=.yamllint.yaml]
|
|
|
|
|
2022-03-22 16:35:37 +03:00
|
|
|
- repo: https://github.com/antonbabenko/pre-commit-terraform
|
2021-09-13 17:22:53 +03:00
|
|
|
rev: v1.45.0
|
|
|
|
hooks:
|
|
|
|
- id: terraform_fmt
|
|
|
|
# terraform_docs currently not installing correctly.
|
|
|
|
# - id: terraform_docs
|
2021-09-13 23:25:39 +03:00
|
|
|
# - id: terraform_tflint
|
2021-09-13 17:22:53 +03:00
|
|
|
|
2021-10-04 21:25:10 +03:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: check_images
|
|
|
|
name: check_images
|
|
|
|
entry: ./scripts/check-images
|
2021-11-30 19:18:10 +03:00
|
|
|
files: "terraform/(staging|prod)/main.tf"
|
2021-10-04 21:25:10 +03:00
|
|
|
|
|
|
|
language: python
|
|
|
|
additional_dependencies:
|
|
|
|
- pyhcl
|
|
|
|
- httpx
|