-
Notifications
You must be signed in to change notification settings - Fork 0
/
terraform-eks.auto.tfvars.example
468 lines (403 loc) · 13.2 KB
/
terraform-eks.auto.tfvars.example
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
# File auto-generated by ./bin/make-example-tfvars
# cluster_name - EKS cluster name.
# Type: ${string}
# Required
#cluster_name = <REQUIRED-VALUE>
# kubernetes_version - Kubernetes controlplane version.
# Type: ${string}
# Default: "1.30"
#kubernetes_version = "1.30"
# aws_region - AWS Region.
# Type: ${string}
# Required
#aws_region = <REQUIRED-VALUE>
# aws_account_id - AWS Account ID to restrict resources. This is a safety measurement to avoid creating/destroying in the wrong account.
# Type: ${string}
# Required
#aws_account_id = <REQUIRED-VALUE>
# tags - Tags to apply to all resources.
# Type: ${any}
# Default: {
# "managed-by": "terraform"
#}
#tags = {
# "managed-by": "terraform"
#}
# overlay - Map of variables to inject into overlay files.
# Type: ${map(string)}
# Default: {
# "certmanager_acme_email": "",
# "cronitor_ping_url": "",
# "ecr_credential_sync_region": "",
# "msteams_channel_url": "",
# "opencost_spot_datafeed_bucket_name": "",
# "opencost_spot_datafeed_bucket_prefix": "",
# "opencost_storage_class_name": "",
# "opsgenie_integration_api_key": "",
# "pagerduty_service_key": "",
# "slack_api_url": "",
# "slack_channel": "",
# "teleport_auth_token": ""
#}
#overlay = {
# "certmanager_acme_email": "",
# "cronitor_ping_url": "",
# "ecr_credential_sync_region": "",
# "msteams_channel_url": "",
# "opencost_spot_datafeed_bucket_name": "",
# "opencost_spot_datafeed_bucket_prefix": "",
# "opencost_storage_class_name": "",
# "opsgenie_integration_api_key": "",
# "pagerduty_service_key": "",
# "slack_api_url": "",
# "slack_channel": "",
# "teleport_auth_token": ""
#}
# cluster_encryption_config - Configuration block with encryption configuration for the cluster. To disable secret encryption, set this value to `{}`
# Type: ${any}
# Default: {
# "resources": [
# "secrets"
# ]
#}
#cluster_encryption_config = {
# "resources": [
# "secrets"
# ]
#}
# vpc_id - VPC ID of an existing VPC. Set to disable VPC creation.
# Type: ${string}
# Default: ""
#vpc_id = ""
# private_subnet_ids - Private Subnet IDs of an existing VPC.
# Type: ${list(string)}
# Default: []
#private_subnet_ids = []
# public_subnet_ids - Public Subnet IDs of an existing VPC.
# Type: ${list(string)}
# Default: []
#public_subnet_ids = []
# control_plane_subnet_ids - Control Plane Subnet IDs of an existing VPC.
# Type: ${list(string)}
# Default: []
#control_plane_subnet_ids = []
# vpc_name - VPC name to create new VPC. Defaults to cluster name.
# Type: ${string}
# Default: ""
#vpc_name = ""
# vpc_zones - AZ names to create the subnets. Use "aws ec2 describe-availability-zones --region <region> | jq .AvailabilityZones[].ZoneName" to list all available subnets.
# Type: ${list(string)}
# Required
#vpc_zones = <REQUIRED-VALUE>
# vpc_cidr - VPC CIDR to create new VPC.
# Type: ${string}
# Default: "10.0.0.0/16"
#vpc_cidr = "10.0.0.0/16"
# create_cluster_security_group - Determines if a security group is created for the cluster. Note: the EKS service creates a primary security group for the cluster by default
# Type: ${bool}
# Default: true
#create_cluster_security_group = true
# cluster_security_group_id - Existing security group ID to be attached to the cluster.
# Type: ${string}
# Default: ""
#cluster_security_group_id = ""
# cluster_security_group_name - Name to use on cluster security group created.
# Type: ${string}
# Default: null
#cluster_security_group_name = null
# cluster_endpoint_public_access_cidrs - List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint when enabled.
# Type: ${list(string)}
# Default: [
# "0.0.0.0/0"
#]
#cluster_endpoint_public_access_cidrs = [
# "0.0.0.0/0"
#]
# cluster_endpoint_public_access - Indicates whether or not the Amazon EKS public API server endpoint is enabled.
# Type: ${bool}
# Default: false
#cluster_endpoint_public_access = false
# vpc_cni_enable_prefix_delegation - Increases Pod density by assigning EC2 ENIs with IP addresses prefixes instead a single IP. Reference docs https://docs.aws.amazon.com/eks/latest/userguide/cni-increase-ip-addresses.html.
# Type: ${bool}
# Default: true
#vpc_cni_enable_prefix_delegation = true
# kube_proxy - Kube-proxy addon configurations.
# Type: ${object({"mode": "${optional(string,"iptables")}", "resources": "${optional(any,{})}", "ipvs": "${optional(object({\"scheduler\": \"${optional(string,"rr")}\"}),{})}"})}
# Default: {}
#kube_proxy = {}
# fargate_profiles - List of fargate profiles to create. To disable fargate, set this value to `[]`.
# Type: ${any}
# Default: [
# {
# "labels": {
# "eks.amazonaws.com/component": "coredns"
# },
# "namespace": "kube-system"
# },
# {
# "labels": {
# "app.kubernetes.io/component": "csi-driver"
# },
# "namespace": "kube-system"
# },
# {
# "labels": {
# "app.kubernetes.io/name": "keda-operator"
# },
# "namespace": "keda"
# },
# {
# "labels": {
# "app": "teleport-agent"
# },
# "namespace": "getup"
# }
#]
#fargate_profiles = [
# {
# "labels": {
# "eks.amazonaws.com/component": "coredns"
# },
# "namespace": "kube-system"
# },
# {
# "labels": {
# "app.kubernetes.io/component": "csi-driver"
# },
# "namespace": "kube-system"
# },
# {
# "labels": {
# "app.kubernetes.io/name": "keda-operator"
# },
# "namespace": "keda"
# },
# {
# "labels": {
# "app": "teleport-agent"
# },
# "namespace": "getup"
# }
#]
# fallback_node_group_min_size - Min number of instances/nodes.
# Type: ${number}
# Default: 0
#fallback_node_group_min_size = 0
# fallback_node_group_max_size - Max number of instances/nodes.
# Type: ${number}
# Default: 1
#fallback_node_group_max_size = 1
# fallback_node_group_desired_size - Desired number of instances/nodes.
# Type: ${number}
# Default: 0
#fallback_node_group_desired_size = 0
# fallback_node_group_capacity_type - of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`.
# Type: ${string}
# Default: "ON_DEMAND"
#fallback_node_group_capacity_type = "ON_DEMAND"
# fallback_node_group_instance_types - Set of instance types associated with the EKS Node Group.
# Type: ${list(string)}
# Default: [
# "c5.large",
# "c5.xlarge",
# "m5.large",
# "m5.xlarge",
# "r5.large",
# "r5.xlarge"
#]
#fallback_node_group_instance_types = [
# "c5.large",
# "c5.xlarge",
# "m5.large",
# "m5.xlarge",
# "r5.large",
# "r5.xlarge"
#]
# fallback_node_group_ami_type - Type of Amazon Machine Image (AMI) associated with the EKS Node Group. Valid values are `AL2_x86_64`, `AL2_x86_64_GPU`, `AL2_ARM_64`, `CUSTOM`, `BOTTLEROCKET_ARM_64`, `BOTTLEROCKET_x86_64`.
# Type: ${string}
# Default: "BOTTLEROCKET_x86_64"
#fallback_node_group_ami_type = "BOTTLEROCKET_x86_64"
# fallback_node_group_platform - Identifies if the OS platform is `bottlerocket` or `linux` based; `windows` is not supported.
# Type: ${string}
# Default: "bottlerocket"
#fallback_node_group_platform = "bottlerocket"
# fallback_node_group_disk_size - Disk size in GiB for worker nodes. Defaults to 60.
# Type: ${number}
# Default: 60
#fallback_node_group_disk_size = 60
# fallback_node_group_disk_type - Disk type to use on the worker nodes. Defaults to gp3.
# Type: ${string}
# Default: "gp3"
#fallback_node_group_disk_type = "gp3"
# karpenter_enabled - Install Karpenter.
# Type: ${bool}
# Default: true
#karpenter_enabled = true
# karpenter_namespace - Namespace where to install Karpenter.
# Type: ${string}
# Default: "karpenter"
#karpenter_namespace = "karpenter"
# karpenter_version - Karpenter chart version.
# Type: ${string}
# Default: "0.37.6"
#karpenter_version = "0.37.6"
# karpenter_replicas - Number of pods for Karpenter controller.
# Type: ${number}
# Default: 2
#karpenter_replicas = 2
# karpenter_node_class_ami_family - Identifies if the OS platform is `Bottlerocket` or `AL2` based.
# Type: ${string}
# Default: "Bottlerocket"
#karpenter_node_class_ami_family = "Bottlerocket"
# karpenter_node_pool_instance_arch - CPU Architecture for node pool instances. Valid values are `amd64` and `arm64`.
# Type: ${list(string)}
# Default: [
# "amd64"
#]
#karpenter_node_pool_instance_arch = [
# "amd64"
#]
# karpenter_node_pool_instance_category - EC2 Instance categories for both OnDemand and Spot Karpenter node pools.
# Type: ${list(string)}
# Default: [
# "c",
# "m",
# "r"
#]
#karpenter_node_pool_instance_category = [
# "c",
# "m",
# "r"
#]
# karpenter_node_group_spot_ratio - Ratio of On-Demand/Spot nodes created managed Karpenter.
# Type: ${number}
# Default: 0.7
#karpenter_node_group_spot_ratio = 0.7
# karpenter_node_pool_instance_cpu - EC2 Instance vCPUs for both OnDemand and Spot Karpenter node pools.
# Type: ${list(string)}
# Default: [
# "2",
# "4",
# "8"
#]
#karpenter_node_pool_instance_cpu = [
# "2",
# "4",
# "8"
#]
# karpenter_node_pool_instance_memory_gb - EC2 Instance memory size in GBi for both OnDemand and Spot Karpenter node pools.
# Type: ${list(number)}
# Default: [
# 4,
# 8,
# 16
#]
#karpenter_node_pool_instance_memory_gb = [
# 4,
# 8,
# 16
#]
# karpenter_cluster_limits_memory_gb - Overall EC2 Instance maximum memory size in GBi for both OnDemand and Spot Karpenter node pools. This respects proportions from var.karpenter_node_group_spot_ratio.
# Type: ${number}
# Default: 1024
#karpenter_cluster_limits_memory_gb = 1024
# karpenter_cluster_limits_cpu - Overall EC2 Instance maximum vCPUs for both OnDemand and Spot Karpenter node pools. This respects proportions from var.karpenter_node_group_spot_ratio.
# Type: ${number}
# Default: 1000
#karpenter_cluster_limits_cpu = 1000
# eks_iam_role_name - IAM role name to create for EKS.
# Type: ${string}
# Default: ""
#eks_iam_role_name = ""
# iam_role_use_name_prefix - Determines whether the IAM role name (`iam_role_name`) is used as a prefix
# Type: ${bool}
# Default: true
#iam_role_use_name_prefix = true
# iam_role_arn - Existing IAM role ARN for the cluster.
# Type: ${string}
# Default: null
#iam_role_arn = null
# kms_key_administrators - A list of IAM ARNs for [key administrators](https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#key-policy-default-allow-administrators). If no value is provided, the current caller identity is used to ensure at least one key admin is available
# Type: ${list(string)}
# Default: []
#kms_key_administrators = []
# create_aws_auth_configmap - Determines whether to create the aws-auth configmap. NOTE - this is only intended for scenarios where the configmap does not exist (i.e. - when using only self-managed node groups). Most users should use `manage_aws_auth_configmap`
# Type: ${bool}
# Default: false
#create_aws_auth_configmap = false
# manage_aws_auth_configmap - Determines whether to manage the aws-auth configmap
# Type: ${bool}
# Default: true
#manage_aws_auth_configmap = true
# aws_auth_user_arns - List of user ARNs to add to the aws-auth configmap. K8s username will be the last component of the ARN.
# Type: ${list(string)}
# Default: []
#aws_auth_user_arns = []
# aws_auth_users - List of user maps to add to the aws-auth configmap
# Type: ${list(any)}
# Default: []
#aws_auth_users = []
# aws_auth_user_groups - K8s group names to assign for all ARN users to add to the aws-auth configmap
# Type: ${list(string)}
# Default: [
# "system:masters"
#]
#aws_auth_user_groups = [
# "system:masters"
#]
# aws_auth_role_arns - List of roles ARNs to add to the aws-auth configmap. K8s username will be the last component of the ARN.
# Type: ${list(string)}
# Default: []
#aws_auth_role_arns = []
# aws_auth_roles - List of role maps to add to the aws-auth configmap
# Type: ${list(any)}
# Default: []
#aws_auth_roles = []
# aws_auth_role_groups - K8s group names to assign for all ARN users to add to the aws-auth configmap
# Type: ${list(string)}
# Default: [
# "system:masters"
#]
#aws_auth_role_groups = [
# "system:masters"
#]
# aws_auth_accounts - List of account maps to add to the aws-auth configmap
# Type: ${list(any)}
# Default: []
#aws_auth_accounts = []
# keda_namespace - Namespace where to install Keda.
# Type: ${string}
# Default: "keda"
#keda_namespace = "keda"
# keda_version - Keda chart version.
# Type: ${string}
# Default: "2.12.1"
#keda_version = "2.12.1"
# keda_replicas - Number of pods for Keda workloads.
# Type: ${number}
# Default: 2
#keda_replicas = 2
# keda_cron_schedule - Timebased autoscale configurations.
# Type: ${list(object({"apiVersion": "${string}", "kind": "${string}", "name": "${string}", "namespace": "${string}", "minReplicaCount": "${number}", "maxReplicaCount": "${number}", "schedules": "${list(object({"timezone": "${string}", "start": "${string}", "end": "${string}", "desiredReplicas": "${string}"}))}"}))}
# Default: []
#keda_cron_schedule = []
# baloon_chart_version - Baloon chart version.
# Type: ${string}
# Default: "0.2.0"
#baloon_chart_version = "0.2.0"
# baloon_namespace - Namespace to install baloon chart.
# Type: ${string}
# Default: "default"
#baloon_namespace = "default"
# baloon_replicas - Number of pods for Baloon deployment (i.e. zero-resources usage pods). See https://wdenniss.com/gke-autopilot-spare-capacity for details.
# Type: ${number}
# Default: 0
#baloon_replicas = 0
# baloon_cpu - Request and limit CPU size for each baloon pod.
# Type: ${number}
# Default: 1
#baloon_cpu = 1
# baloon_memory - Request and limit memory size for each baloon pod.
# Type: ${string}
# Default: "8Mi"
#baloon_memory = "8Mi"