-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathvariables.tf
61 lines (49 loc) · 1.26 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
################################
###### QUICK EDIT'S HERE ######
################################
###### CLUSTER OPTIONS ######
# Customize the Cluster Name
variable "project_name" {
description = "Cluster Name"
default = "k8s-with-cri-o"
}
variable "ami" {
description = "Ubuntu 18.04 AMI"
default = "ami-07ebfd5b3428b6f4d"
}
# Customize your AWS Region
variable "aws_region" {
description = "AWS Region for the VPC"
default = "us-east-1"
}
# Customize your key path
variable "aws_key_path" {
description = "key_path"
default = "../../cncf_key.pub"
}
# Tags
variable "tags" {
default = {
Project = "k8s-with-cri-o"
enviroment = "prod"
}
}
################################
###### KUBERNETES #########
################################
variable "kubernetes_master_instance_type" {
description = "Kubernetes Master instance type"
default = "c4.large"
}
variable "kubernetes_master_count" {
description = "Kubernetes Master count"
default = 1
}
variable "kubernetes_nodes_instance_type" {
description = "Kubernetes Nodes instance type"
default = "c4.large"
}
variable "kubernetes_nodes_count" {
description = "Kubernetes nodes count"
default = 4
}