-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
209 lines (175 loc) · 6.31 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
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
variable "namespace" {
type = string
description = "Name prefix used for resources"
}
variable "domain_name" {
type = string
description = "Domain name used to access instance."
}
variable "aws_profile" {
type = string
description = "AWS profile for auth"
default = "default"
}
variable "aws_region" {
type = string
default = "us-east-2"
}
variable "zone_id" {
type = string
description = "Id of Route53 zone"
}
variable "size" {
default = "small"
description = "Deployment size"
nullable = true
type = string
}
variable "subdomain" {
type = string
default = null
description = "Subdomain for accessing the Weights & Biases UI."
}
variable "wandb_license" {
type = string
}
variable "database_engine_version" {
description = "Version for MySQL Auora"
type = string
default = "8.0.mysql_aurora.3.02.2"
}
variable "database_instance_class" {
description = "Instance type to use by database master instance."
type = string
default = "db.r5.large"
}
variable "database_snapshot_identifier" {
description = "Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot"
type = string
default = null
}
variable "database_sort_buffer_size" {
description = "Specifies the sort_buffer_size value to set for the database"
type = number
default = 262144
}
variable "wandb_version" {
description = "The version of Weights & Biases local to deploy."
type = string
default = "latest"
}
variable "wandb_image" {
description = "Docker repository of to pull the wandb image from."
type = string
default = "wandb/local"
}
variable "bucket_name" {
type = string
default = ""
}
variable "bucket_kms_key_arn" {
type = string
description = "The Amazon Resource Name of the KMS key with which S3 storage bucket objects will be encrypted."
default = ""
}
variable "allowed_inbound_cidr" {
default = ["0.0.0.0/0"]
nullable = false
type = list(string)
}
variable "allowed_inbound_ipv6_cidr" {
default = ["::/0"]
nullable = false
type = list(string)
}
variable "other_wandb_env" {
type = map(string)
description = "Extra environment variables for W&B"
default = {}
}
variable "system_reserved_cpu_millicores" {
description = "(Optional) The amount of 'system-reserved' CPU millicores to pass to the kubelet. For example: 100. A value of -1 disables the flag."
type = number
default = -1
}
variable "system_reserved_memory_megabytes" {
description = "(Optional) The amount of 'system-reserved' memory in megabytes to pass to the kubelet. For example: 100. A value of -1 disables the flag."
type = number
default = -1
}
variable "system_reserved_ephemeral_megabytes" {
description = "(Optional) The amount of 'system-reserved' ephemeral storage in megabytes to pass to the kubelet. For example: 1000. A value of -1 disables the flag."
type = number
default = -1
}
variable "system_reserved_pid" {
description = "(Optional) The amount of 'system-reserved' process ids [pid] to pass to the kubelet. For example: 1000. A value of -1 disables the flag."
type = number
default = -1
}
variable "aws_loadbalancer_controller_tags" {
description = "(Optional) A map of AWS tags to apply to all resources managed by the load balancer controller"
type = map(string)
default = {}
}
variable "private_link_allowed_account_ids" {
description = "List of AWS account IDs allowed to access the VPC Endpoint Service"
type = list(string)
default = []
}
variable "eks_cluster_version" {
description = "Version of EKS to deploy"
type = string
default = "1.32"
}
##########################################
# EKS Cluster Addons #
##########################################
variable "eks_addon_efs_csi_driver_version" {
description = "The version of the EFS CSI driver to install. Check the docs for more information about the compatibility https://docs.aws.amazon.com/eks/latest/userguide/vpc-add-on-update.html."
type = string
default = "v2.0.7-eksbuild.1"
}
variable "eks_addon_ebs_csi_driver_version" {
description = "The version of the EBS CSI driver to install. Check the docs for more information about the compatibility https://docs.aws.amazon.com/eks/latest/userguide/vpc-add-on-update.html."
type = string
default = "v1.35.0-eksbuild.1"
}
variable "eks_addon_coredns_version" {
description = "The version of the CoreDNS addon to install. Check the docs for more information about the compatibility https://docs.aws.amazon.com/eks/latest/userguide/vpc-add-on-update.html."
type = string
default = "v1.11.4-eksbuild.2"
}
variable "eks_addon_kube_proxy_version" {
description = "The version of the kube-proxy addon to install. Check the docs for more information about the compatibility https://docs.aws.amazon.com/eks/latest/userguide/vpc-add-on-update.html."
type = string
default = "v1.32.0-eksbuild.2"
}
variable "eks_addon_vpc_cni_version" {
description = "The version of the VPC CNI addon to install. Check the docs for more information about the compatibility https://docs.aws.amazon.com/eks/latest/userguide/vpc-add-on-update.html.s"
type = string
default = "v1.19.2-eksbuild.1"
}
variable "eks_addon_metrics_server_version" {
description = "The version of the metrics-server addon to install. Check compatibility with `aws eks describe-addon-versions --region $REGION --kubernetes-version $EKS_CLUSTER_VERSION`"
type = string
default = "v0.7.2-eksbuild.1"
}
# ##########################################
# # Operator #
# ##########################################
# variable "operator_chart_version" {
# type = string
# description = "Version of the operator chart to deploy"
# default = "1.4.0"
# }
# variable "controller_image_tag" {
# type = string
# description = "Tag of the controller image to deploy"
# default = "1.18.5"
# }
# variable "enable_helm_release" {
# type = bool
# default = true
# description = "Enable or disable applying and releasing Helm chart"
# }