-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnodegroup_dev.tf
32 lines (22 loc) · 1.09 KB
/
nodegroup_dev.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
################# START BLOCK ONDEMAND NODE-GROUP LIST #################
module "eks_nodegroup_ondemand_monitoring_dev" {
count = local.is_dev_envs
source = "../modules/eks_nodegroup"
name = "monitoring" # don't need to type ondemand/spot in the name, it will be added automatically.
instance_type = "t3.large"
global_config = local.make_global_configuration
nodegroup_config = local.make_eks_nodegroups_global_configuration
}
################# END BLOCK ONDEMAND NODE-GROUP LIST #################
################# START BLOCK SPOT NODE-GROUP LIST #################
module "eks_nodegroup_spot_api_read_dev" {
count = local.is_dev_envs
source = "../modules/eks_nodegroup"
name = "api-read-dev" # don't need to type ondemand/spot in the name, it will be added automatically.
instance_type = "r6gd.xlarge"
ami_type = "AL2_ARM_64"
is_spot_instance = true
global_config = local.make_global_configuration
nodegroup_config = local.make_eks_nodegroups_global_configuration
}
################# END BLOCK SPOT NODE-GROUP LIST #################