-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariable.tf
More file actions
61 lines (49 loc) · 1.09 KB
/
variable.tf
File metadata and controls
61 lines (49 loc) · 1.09 KB
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
# Variables
#==========
variable "vpc_cidr_block" {
description = "VPC CIDR Block"
default = "10.0.0.0/16"
}
variable "AWS_EC2_Region" {
description = "EC2 region"
default = "us-west-2"
}
variable "instance_type_ec2" {
description = "EC2 instance type"
default = "t2.medium"
}
variable "AMI" {
description = "AMI ID"
type = map
default = {
us-west-2 = "ami-0d70546e43a941d70"
}
}
variable "key_name" {
description = "Key pair name"
default = "koinx"
}
variable "instance_type_eks" {
description = "EKS Instance Types"
default = "t3.medium"
}
variable "capacity_type_eks" {
description = "EKS capacity type"
default = "SPOT"
}
variable "desired_size" {
description = "Desired number of Nodes"
default = 1
}
variable "max_size" {
description = "Maximum number of nodes that can be in a cluster"
default = 2
}
variable "min_size" {
description = "Minimum number of nodes that should be in a cluster"
default = 1
}
variable "max_unavailable" {
description = " Maximum number of nodes that can be unavailable in a cluster"
default = 1
}