forked from CommanderK5/terraform-aws-metaflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
31 lines (31 loc) · 1.37 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: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.62.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
hooks:
- id: terraform_fmt
- repo: https://github.com/terraform-docs/terraform-docs
rev: "v0.15.0"
hooks:
- id: terraform-docs-go
name: "Main terraform module docs"
args: ["-c", ".terraform-docs.yml", "markdown", "."]
- id: terraform-docs-go
name: "Computation terraform module docs"
args: ["-c", "modules/.terraform-docs.yml", "markdown", "modules/computation"]
- id: terraform-docs-go
name: "Datastore terraform module docs"
args: ["-c", "modules/.terraform-docs.yml", "markdown", "modules/datastore"]
- id: terraform-docs-go
name: "Metadata Service terraform module docs"
args: ["-c", "modules/.terraform-docs.yml", "markdown", "modules/metadata-service"]
- id: terraform-docs-go
name: "Step Functions terraform module docs"
args: ["-c", "modules/.terraform-docs.yml", "markdown", "modules/step-functions"]
- id: terraform-docs-go
name: "UI terraform module docs"
args: ["-c", "modules/.terraform-docs.yml", "markdown", "modules/ui"]