-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
147 lines (124 loc) · 3.32 KB
/
variables.tf
File metadata and controls
147 lines (124 loc) · 3.32 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
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
variable "name" {
description = "The name of the launch template"
type = string
}
variable "customer" {
description = "Customer for the current deployment"
type = string
default = ""
}
variable "tags" {
description = "Default tags to add to resources"
type = map(any)
default = {}
}
# module specific variables
variable "ami_type" {
description = "The type of AMI to use for the launch template"
type = string
default = "CUSTOM"
}
variable "capacity_type" {
description = "The type of capacity to use for the launch template"
type = string
default = "ON_DEMAND"
}
variable "cluster_name" {
description = "The name of the cluster to use for the launch template"
type = string
}
variable "disk_size" {
description = "The size of the disk to use for the launch template"
type = number
default = null
}
variable "force_update_version" {
description = "Force a new version of the launch template to be created"
type = bool
default = false
}
variable "instance_types" {
description = "The instance types to use for the launch template"
type = list(string)
default = null
}
variable "labels" {
description = "Labels to add to the node group"
type = map(any)
default = {}
}
variable "node_group_name_prefix" {
description = "Prefix to use for generated node group names"
type = string
default = null
}
variable "node_role_arn" {
description = "The ARN of the role to use for the launch template"
type = string
}
variable "release_version" {
description = "The release version to use for the launch template"
type = string
default = null
}
variable "subnet_ids" {
description = "The subnet IDs to use for the node group"
type = list(string)
}
variable "taints" {
description = "Taints to be applied to the node group"
type = list(object({
key = string
value = string
effect = string
}))
default = []
}
variable "k8s_version" {
description = "The version of kubernetes to use"
type = string
default = null
}
variable "launch_template_id" {
description = "The ID of the launch template to use"
type = string
default = null
}
variable "launch_template_version" {
description = "The version of the launch template to use"
type = string
default = null
}
variable "remote_access" {
description = "The remote access configuration to use for the launch template"
type = object({
ec2_ssh_key = string
source_security_group_ids = list(string)
})
default = null
}
variable "desired_size" {
description = "The desired size of the node group"
type = number
default = 1
}
variable "max_size" {
description = "The maximum size of the node group"
type = number
default = 1
}
variable "min_size" {
description = "The minimum size of the node group"
type = number
default = 1
}
variable "update_max_unavailable" {
description = "The maximum number of nodes that can be unavailable during an update"
type = string
default = "1"
}
variable "update_max_unavailable_percentage" {
description = "The maximum percentage of nodes that can be unavailable during an update"
type = number
default = null
}