-
Notifications
You must be signed in to change notification settings - Fork 20
/
variables.tf
77 lines (59 loc) · 1.33 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
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
variable "vpc_cidr" {
type = string
default = "10.0.0.0/16"
description = "VPC Primary CIDR"
}
variable "project_name" {
type = string
default = "MithunTech"
}
variable "environmnet" {
type = string
default = "dev"
}
variable "enable_dns_hostnames" {
type = bool
default = true
}
variable "enable_dns_support" {
type = bool
default = true
}
variable "common_tags" {
type = map(string)
default = {
"Env" = "Devlopment"
"Company" = "Mithun Technologies"
}
}
variable "public_subnets_cidr" {
type = list(string)
default = ["10.0.0.0/19", "10.0.32.0/19", "10.0.64.0/19"]
}
variable "private_subnets_cidr" {
type = list(string)
default = ["10.0.96.0/19", "10.0.128.0/19", "10.0.160.0/19"]
}
variable "eks_node_policies" {
type = set(string)
default = ["arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy",
"arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy",
"arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly",
"arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy"]
}
variable "nodegroup_instance_type" {
type = string
default = "t2.medium"
}
variable "nodegroup_desired_size" {
type = number
default = 1
}
variable "nodegroup_min_size" {
type = number
default = 1
}
variable "nodegroup_max_size" {
type = number
default = 4
}