-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
42 lines (35 loc) · 1.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
variable "create_iam_resources_per_cluster" {
description = "Whether to generate IAM resources bound to single cluster that otherwise would be reused."
type = bool
default = true
}
variable "aws_cluster_name" {
type = string
description = "Name of the cluster IAM resources will be created for."
}
variable "aws_cluster_region" {
type = string
description = "Region of the cluster IAM resources will created for."
}
variable "aws_cluster_vpc_id" {
type = string
description = "VPC of the cluster IAM resources will created for."
}
variable "aws_account_id" {
type = string
description = "ID of AWS account the cluster is located in."
}
variable "castai_user_arn" {
type = string
description = "ARN of CAST AI user for which AssumeRole trust access should be granted"
}
variable "attach_worker_cni_policy" {
type = bool
description = "Whether to attach the Amazon managed `AmazonEKS_CNI_Policy` IAM policy to the default worker IAM role. WARNING: If set `false` the permissions must be assigned to the `aws-node` DaemonSet pods via another method or nodes will not be able to join the cluster."
default = true
}
variable "enable_ipv6" {
type = bool
description = "Whether to enable IPv6 CNI policy for the cluster."
default = true
}