/
variables.tf
102 lines (85 loc) · 2.93 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
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
# tflint-ignore: terraform_unused_declarations
variable "cluster_name" {
description = "Name of cluster"
type = string
validation {
condition = length(var.cluster_name) > 0 && length(var.cluster_name) <= 19
error_message = "The cluster name must be between [1, 19] characters"
}
}
variable "cluster_region" {
description = "Region to create the cluster"
type = string
}
variable "eks_version" {
description = "The EKS version to use"
type = string
default = "1.25"
}
variable "node_instance_type" {
description = "The instance type of an EKS node"
type = string
default = "m5.xlarge"
}
variable "node_instance_type_gpu" {
description = "The instance type of a gpu EKS node. Will result in the creation of a separate gpu node group when not null"
type = string
default = null
}
variable "node_disk_size_cpu" {
description = "The disk size of a cpu node."
type = string
default = 50
}
variable "node_disk_size_gpu" {
description = "The disk size of a gpu node."
type = string
default = 75
}
variable "cognito_user_pool_name" {
description = "Cognito User Pool name"
type = string
}
variable "aws_route53_root_zone_name" {
description = "TOP LEVEL/ROOT Route 53 hosted zone name (e.g. example.com). Must match exactly one zone."
type = string
}
variable "aws_route53_subdomain_zone_name" {
description = "SUBDOMAIN Route 53 hosted zone name(e.g. platform.example.com) which will be used for Kubeflow Platform. Must match exactly one zone"
type = string
}
variable "create_subdomain" {
description = "Creates a subdomain with the name provided in var.aws_route53_subdomain_zone_name"
type = bool
default = true
}
variable "load_balancer_scheme" {
description = "Load Balancer Scheme"
type = string
default = "internet-facing"
}
variable "enable_aws_telemetry" {
description = "Enable AWS telemetry component"
type = bool
default = true
}
variable "kf_helm_repo_path" {
description = "Full path to the location of the helm repo for KF"
type = string
default = "../../.."
}
variable "notebook_enable_culling" {
description = "Enable Notebook culling feature. If set to true then the Notebook Controller will scale all Notebooks with Last activity older than the notebook_cull_idle_time to zero"
type = string
default = false
}
variable "notebook_cull_idle_time" {
description = "If a Notebook's LAST_ACTIVITY_ANNOTATION from the current timestamp exceeds this value then the Notebook will be scaled to zero (culled). ENABLE_CULLING must be set to 'true' for this setting to take effect.(minutes)"
type = string
default = 30
}
variable "notebook_idleness_check_period" {
description = "How frequently the controller should poll each Notebook to update its LAST_ACTIVITY_ANNOTATION (minutes)"
type = string
default = 5
}