Skip to content

Commit badd12c

Browse files
committed
pre-commit
1 parent 3fd23c1 commit badd12c

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

.pre-commit-config.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.3.0
4+
hooks:
5+
- id: end-of-file-fixer
6+
- id: trailing-whitespace
7+
- repo: https://github.com/terraform-docs/terraform-docs
8+
rev: "v0.15.0"
9+
hooks:
10+
- id: terraform-docs-go
11+
name: "Main terraform module docs"
12+
args: ["-c", ".terraform-docs.yml", "markdown", "."]
13+
- id: terraform-docs-go
14+
name: "Computation terraform module docs"
15+
args: ["-c", "modules/.terraform-docs.yml", "markdown", "modules/computation"]
16+
- id: terraform-docs-go
17+
name: "Datastore terraform module docs"
18+
args: ["-c", "modules/.terraform-docs.yml", "markdown", "modules/datastore"]
19+
- id: terraform-docs-go
20+
name: "Metadata Service terraform module docs"
21+
args: ["-c", "modules/.terraform-docs.yml", "markdown", "modules/metadata-service"]
22+
- id: terraform-docs-go
23+
name: "Step Functions terraform module docs"
24+
args: ["-c", "modules/.terraform-docs.yml", "markdown", "modules/step-functions"]

modules/ui/locals.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@ locals {
2828

2929
default_ui_static_env_vars = {}
3030
}
31-

modules/ui/variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ variable "extra_ui_static_env_vars" {
103103
description = "Additional environment variables for UI static app"
104104
}
105105

106-
variable "ui_backend_container_image" {
106+
variable "ui_backend_container_image" {
107107
type = string
108108
default = "netflixoss/metaflow_metadata_service:2.1.0"
109109
description = "Container image for UI backend"
110110
}
111111

112-
variable "ui_static_container_image" {
112+
variable "ui_static_container_image" {
113113
type = string
114114
default = "public.ecr.aws/outerbounds/metaflow_ui:v1.0.1"
115115
description = "Container image for UI static app"
116-
}
116+
}

0 commit comments

Comments
 (0)