forked from dspace-group/simphera-reference-architecture-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
31 lines (31 loc) · 1.04 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
repos:
- repo: local
hooks:
- id: terraform_format
name: terraform_format
entry: --entrypoint /src/hooks/terraform_format.sh hashicorp/terraform:1.5.2
language: docker_image
- repo: local
hooks:
- id: terraform_validate
name: terraform_validate
entry: "--entrypoint /src/hooks/terraform_validate.sh -v tfvalidate:/src/cache hashicorp/terraform:1.5.2"
language: docker_image
- repo: local
hooks:
- id: tflint
name: tflint
entry: --entrypoint /src/hooks/tflint.sh ghcr.io/terraform-linters/tflint:v0.48.0
language: docker_image
- repo: local
hooks:
- id: tfsec
name: tfsec
entry: --entrypoint /src/hooks/tfsec.sh aquasec/tfsec:v1.28
language: docker_image
- repo: local
hooks:
- id: terraform_docs
name: terraform_docs
entry: --entrypoint /src/hooks/terraform_docs.sh quay.io/terraform-docs/terraform-docs:0.16.0
language: docker_image