-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvars.tf
153 lines (124 loc) · 3.13 KB
/
vars.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
variable "aws_region" {
type = string
description = "region where EKS is deployed"
}
variable "aws_account_id" {
type = string
description = "Account ID of this environment"
}
variable "cluster_name" {
type = string
description = "EKS cluster name"
}
variable "private_zone_suffix" {
type = string
description = "Private Route53 DNS zone suffix, e.g. private, or local, or whatever.."
}
variable "transit_vpc_id" {
type = string
description = "Transit VPC id"
}
variable "cluster_version" {
type = string
description = "EKS cluster version"
}
variable "vpc_id" {
type = string
description = "VPC id where EKS is going to be deployed"
}
variable "vpc_subnet1_id" {
type = string
description = "Subnet ID of first subnet"
}
variable "vpc_subnet2_id" {
type = string
description = "Subnet ID of second subnet"
}
variable "csr1-cidr-block" {
type = string
description = "VPC first subnet CIDR"
}
variable "csr2-cidr-block" {
type = string
description = "VPC second subnet CIDR"
}
variable "tags" {
type = map(string)
default = {}
description = "EKS cluster Project tags"
}
variable "managed_node_groups" {
type = map(object({
instance_types = list(string)
min_size = number
max_size = number
desired_size = number
disk_size = number
labels = map(string)
}))
default = {}
}
variable "platform_teams" {
type = map(object({
users = list(string)
}))
}
variable "application_teams" {
type = map(object({
users = list(string)
}))
default = {}
description = "application teams privileges, quotas, etc."
}
variable "crt_secret" {
type = string
description = "Secret ARN for wildcard ssl crt secret, only the part after the last slash"
}
variable "key_secret" {
type = string
description = "Secret ARN for wildcard ssl private key secret, only the part after the last slash"
}
variable "ca_crt_secret" {
type = string
description = "Secret ARN for CA certificate secret, only the part after the last slash"
}
variable "admin_team_arn" {
type = string
description = "ARN of the Admin Team for this cluster"
}
variable "pod_cpu_limit" {
type = string
description = "maximum pod CPU limit"
}
variable "pod_memory_limit" {
type = string
description = "maximum pod RAM limit"
}
variable "pod_cpu_requests" {
type = string
description = "maximum pod CPU requests"
}
variable "pod_memory_requests" {
type = string
description = "maximum pod RAM requests"
}
variable "prometheus_internal_fqdn" {
type = string
description = "Prometheus internal LAN FQDN"
}
variable "prometheus_route53_fqdn" {
type = string
description = "Prometheus Route53 FQDN"
}
variable "loki_gateway_internal_fqdn" {
type = string
description = "Loki Gateway internal LAN FQDN"
}
variable "loki_gateway_route53_fqdn" {
type = string
description = "Loki Gateway Route53 FQDN"
}
variable "loki_bucket" {
type = string
description = "Loki bucket name"
}