-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvars.tf
99 lines (80 loc) · 2.12 KB
/
vars.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
variable "aws_access_key" {
default = "xxx"
description = "Amazon AWS Access Key"
}
variable "aws_secret_key" {
default = "xxx"
description = "Amazon AWS Secret Key"
}
variable "prefix" {
default = "yourname"
description = "Cluster Prefix - All resources created by Terraform have this prefix prepended to them"
}
variable "rancher_version" {
default = "latest"
description = "Rancher Server Version"
}
variable "count_agent_all_nodes" {
default = "1"
description = "Number of Agent All Designation Nodes"
}
variable "count_agent_etcd_nodes" {
default = "0"
description = "Number of ETCD Nodes"
}
variable "count_agent_controlplane_nodes" {
default = "0"
description = "Number of K8s Control Plane Nodes"
}
variable "count_agent_worker_nodes" {
default = "0"
description = "Number of Worker Nodes"
}
variable "admin_password" {
default = "admin"
description = "Password to set for the admin account in Rancher"
}
variable "cluster_name" {
default = "quickstart"
description = "Kubernetes Cluster Name"
}
variable "region" {
default = "us-west-2"
description = "Amazon AWS Region for deployment"
}
variable "server_instancetype" {
default = "t3.medium"
description = "Amazon AWS Instance Type"
}
variable "agentall_instancetype" {
default = "t3.medium"
description = "Amazon AWS Instance Type"
}
variable "worker_instancetype" {
default = "t3.medium"
description = "Amazon AWS Instance Type"
}
variable "controlplane_instancetype" {
default = "t3.medium"
description = "Amazon AWS Instance Type"
}
variable "etcd_instancetype" {
default = "t3.medium"
description = "Amazon AWS Instance Type"
}
variable "docker_version_server" {
default = "17.03"
description = "Docker Version to run on Rancher Server"
}
variable "docker_version_agent" {
default = "17.03"
description = "Docker Version to run on Kubernetes Nodes"
}
variable "ssh_key_name" {
default = ""
description = "Amazon AWS Key Pair Name"
}
variable "hosted_zone_id" {
default = ""
description = "Amazon AWS Route53 Hosted Zone Id"
}