-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
60 lines (51 loc) · 1.11 KB
/
variables.tf
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
variable "name" {
description = "Welltory"
type = string
default = "welltory"
}
variable "aws_region" {
description = "AWS Region Name"
type = string
}
variable "global_env" {
description = "Environment Name: nonprod or prod"
type = string
}
variable "vpc" {
description = "VPC Configuration"
type = object({
cidr = string
azs = list(string)
private_subnets = list(string)
public_subnets = list(string)
})
}
variable "kube" {
description = "Kubernetes cluster configuration."
type = object({
cluster_version = number
})
}
variable "autoscaler" {
description = "Autoscaler configuration."
type = object({
helm_chart_version = string
})
}
variable "aws_node_termination_handler" {
description = "aws_node_termination_handler configuration."
type = object({
helm_chart_version = string
})
}
variable "metrics_server" {
description = "Metrics server configuration."
type = object({
helm_chart_version = string
})
}
variable "users" {
type = map(object({
name = string
}))
}