-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvaraibles.tf
76 lines (65 loc) · 1.54 KB
/
varaibles.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
variable "aws_region" {
type = string
default = "ap-south-1"
}
variable "vpc_cidr" {
type = string
default = "192.168.0.0/16"
}
variable "enabledns_hostnames" {
type = bool
default = true
}
variable "project" {
type = string
default = "MithunTech"
}
variable "enviroment" {
type = string
default = "dev"
}
variable "common_tags" {
type = map(string)
default = {
"Company" = "Mithun Technolgoies"
"Manager" = "Asish"
"ManagedBy" = "Terraform"
}
}
variable "aws_azs_list" {
type = list(string)
default = ["ap-south-1a", "ap-south-1b", "ap-south-1c"]
}
variable "public_subents_cidrs" {
type = list(string)
default = ["192.168.0.0/20", "192.168.16.0/20", "192.168.32.0/20"]
}
variable "private_subents_cidrs" {
type = list(string)
default = ["192.168.48.0/20", "192.168.64.0/20", "192.168.80.0/20"]
}
variable "eks_worker_role_policy_arns" {
type = list(string)
default = ["arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy", "arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy"
, "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly", "arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy"]
}
variable "eks_worker_node_group_disk_size" {
type = number
default = 30
}
variable "eks_worker_node_group_instance_type" {
type = string
default = "t2.large"
}
variable "node_group_desired_size" {
type = number
default = 1
}
variable "node_group_min_size" {
type = number
default = 1
}
variable "node_group_max_size" {
type = number
default = 5
}