forked from MithunTechnologiesDevOps/EKS-Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvaraibles.tf
61 lines (52 loc) · 1.24 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
variable "aws_region" {
type = string
default = "ap-south-1"
description = "The AWS Region In Which Terrform Will Manage The Infrastrucre"
}
variable "vpc_cidr" {
type = string
default = "10.0.0.0/16"
description = "VPC CIDR"
}
variable "public_subnet_cidrs" {
type = list(string)
default = ["10.0.0.0/19", "10.0.32.0/19", "10.0.64.0/19"]
}
variable "private_subnet_cidrs" {
type = list(string)
default = ["10.0.96.0/19", "10.0.128.0/19", "10.0.160.0/19"]
}
variable "project_name" {
type = string
default = "Demo-EKS"
}
variable "common_tags" {
type = map(string)
default = {
"Environmet" = "Dev"
"Owner" = "Mithun Technologies"
}
}
variable "desired_size" {
type = number
default = 2
}
variable "min_size" {
type = number
default = 2
}
variable "max_size" {
type = number
default = 10
}
variable "instance_types" {
type = list(string)
default = [ "t2.micro" ]
}
variable "eks_node_role_polices" {
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"]
}