-
Notifications
You must be signed in to change notification settings - Fork 0
/
eks_node_group.tf
72 lines (66 loc) · 1.64 KB
/
eks_node_group.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
# aws_eks_node_group.test-automation1:
resource "aws_eks_node_group" "test-automation1" {
ami_type = "AL2_x86_64"
capacity_type = "ON_DEMAND"
cluster_name = "test-automation1"
disk_size = 30
instance_types = [
"t3.2xlarge",
]
labels = {}
node_group_name = "test-automation1"
node_group_name_prefix = null
node_role_arn = "arn:aws:iam::202410010000:role/WorkerNodeRole"
release_version = "1.29.8-20240924"
subnet_ids = [
"subnet-00b0c102e6ed49c6c",
"subnet-0385724146fd0afb9",
]
tags = {}
tags_all = {}
version = "1.29"
scaling_config {
desired_size = 2
max_size = 2
min_size = 0
}
update_config {
max_unavailable = 1
}
}
# aws_eks_node_group.test-automation2:
resource "aws_eks_node_group" "test-automation2" {
depends_on = [
aws_instance.nat_bridge,
aws_route_table.cluster-route-tables,
aws_main_route_table_association.update,
aws_eks_cluster.test-automation2
]
ami_type = "AL2_x86_64"
capacity_type = "ON_DEMAND"
cluster_name = "test-automation2"
disk_size = 30
instance_types = [
"t3.2xlarge",
]
labels = {}
node_group_name = "test-automation2"
node_group_name_prefix = null
node_role_arn = "arn:aws:iam::202410010000:role/WorkerNodeRole"
release_version = "1.29.8-20240924"
subnet_ids = [
"subnet-00b0c102e6ed49c6c",
"subnet-0385724146fd0afb9",
]
tags = {}
tags_all = {}
version = "1.29"
scaling_config {
desired_size = 2
max_size = 2
min_size = 0
}
update_config {
max_unavailable = 1
}
}