-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
182 lines (150 loc) · 3.75 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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
variable "cloudwatch_monitoring" {
default = ""
description = "Enable/Disable cloudwatch monitoring for instances"
type = string
}
variable "ami_id" {
default = ""
description = "AMI id for the instance"
type = string
}
variable "controlplane_instance_type" {
default = ""
description = "Controlplane instance type"
type = string
}
variable "request_spot_instances" {
default = ""
description = "Request spot instances for the node template"
type = string
}
variable "spot_price" {
default = ""
description = "Spot instances price for the node template"
type = string
}
variable "root_disk_size" {
default = ""
description = "Root disk size for instances in GB"
type = string
}
variable "iam_instance_profile_name_worker" {
default = ""
description = "IAM instance profile name for worker"
type = string
}
variable "iam_instance_profile_name" {
default = ""
description = "IAM instance profile name"
type = string
}
variable "rancher_api_url" {
default = ""
description = "Rancher API URL"
type = string
}
variable "rancher_access_key" {
description = "Rancher server's access key"
}
variable "rancher_secret_key" {
description = "Rancher server's secret key"
}
variable "rancher_cluster_name" {
default = ""
description = "Rancher cluster name"
type = string
}
variable "rke_network_plugin" {
default = ""
description = "Network plugin for cluster"
type = string
}
variable "region" {
default = ""
description = "AWS region"
type = string
}
variable "existing_vpc" {
default = false
description = "Use existing VPC for creating clusters"
type = string
}
variable "vpc_id" {
default = ""
description = "VPC ID"
type = string
}
variable "subnet_id" {
default = ""
description = "subnet id"
type = string
}
variable "security_group_name" {
default = ""
description = "security group id"
type = string
}
variable "worker_instance_type" {
default = ""
description = "Instance type"
type = string
}
variable "overlap_cp_etcd_worker" {
default = false
description = "Overlapping planes for node template"
type = string
}
variable "overlap_node_pool_hostname_prefix" {
default = ""
description = "Hostname prefix for overlapped node pools"
type = string
}
variable "no_overlap_nodepool_master_hostname_prefix" {
default = ""
description = "Hostname prefix for master node pool"
type = string
}
variable "no_overlap_nodepool_worker_hostname_prefix" {
default = ""
description = "Hostname prefix for worker node pool"
type = string
}
variable "no_overlap_nodepool_master_quantity" {
default = ""
description = "Node pool master quantity for non-overlapped planes"
type = string
}
variable "no_overlap_nodepool_worker_quantity" {
default = ""
description = "Node pool worker quantity for non-overlapped planes"
type = string
}
variable "overlap_node_pool_quantity" {
default = ""
description = "Node pool quantity for overlap planes"
type = string
}
variable "AWS_ACCESS_KEY_ID" {
description = "AWS access key"
}
variable "AWS_SECRET_ACCESS_KEY" {
description = "AWS secret key"
}
variable "AWS_DEFAULT_REGION" {
description = "AWS default region"
}
variable "ssh_user" {
default = ""
description = "SSH user"
type = "string"
}
variable "zone" {
default = ""
description = "Zone. For ex - eu-central-1a"
type = "string"
}
variable "vpc_cidr_block" {
default = ""
description = "CIDR block for creating VPC with the provisioner"
type = "string"
}