-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathvariables.tf
More file actions
52 lines (44 loc) · 1.54 KB
/
variables.tf
File metadata and controls
52 lines (44 loc) · 1.54 KB
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
# EKS module variables.
variable "cluster_name" {
type = string
description = "EKS cluster name in AWS account."
}
variable "cluster_version" {
type = string
description = "EKS cluster name version."
default = "1.32"
}
variable "cluster_region" {
type = string
description = "AWS Region in which EKS cluster and supporting resources will be created."
}
variable "castai_api_url" {
type = string
description = "URL of alternative CAST AI API to be used during development or testing"
default = "https://api.cast.ai"
}
# Variables required for connecting EKS cluster to CAST AI.
variable "castai_api_token" {
type = string
description = "CAST AI API token created in console.cast.ai API Access keys section"
}
variable "castai_grpc_url" {
type = string
description = "CAST AI gRPC URL"
default = "grpc.cast.ai:443"
}
variable "delete_nodes_on_disconnect" {
type = bool
description = "Optional parameter, if set to true - CAST AI provisioned nodes will be deleted from cloud on cluster disconnection. For production use it is recommended to set it to false."
default = true
}
variable "tags" {
type = map(any)
description = "Optional tags for new cluster nodes. This parameter applies only to new nodes - tags for old nodes are not reconciled."
default = {}
}
variable "additional_cluster_admin_arns" {
type = map(string)
description = "Map of additional IAM user or role ARNs to be granted admin access to the EKS cluster."
default = {}
}