forked from rancher/terraform-rancher-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
213 lines (178 loc) · 4.85 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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
variable "rancher_password" {
type = string
description = "Password to set for Rancher root user"
}
variable "rancher_current_password" {
type = string
default = null
description = "Rancher admin user current password"
}
variable "rancher_version" {
type = string
default = "2.2.9"
description = "Version of Rancher to install"
}
variable "rancher2_master_custom_tags" {
type = map
default = {}
description = "Custom tags for Rancher master nodes"
}
variable "rancher2_worker_custom_tags" {
type = map
default = {}
description = "Custom tags for Rancher worker nodes"
}
variable "rancher2_custom_tags" {
type = map
default = {
DoNotDelete = "true"
Owner = "EIO_Demo"
}
description = "Custom tags for Rancher resources"
}
variable "extra_ssh_keys" {
type = list
default = []
description = "Extra ssh keys to inject into Rancher instances"
}
variable "rancher_chart" {
type = string
default = "rancher-stable/rancher"
description = "Helm chart to use for Rancher install"
}
variable "certmanager_chart" {
type = string
default = "jetstack/cert-manager"
description = "Helm chart to use for cert-manager install"
}
variable "name" {
type = string
default = "rancher-demo"
description = "Name for deployment"
}
variable "github_client_id" {
type = string
default = ""
description = "GitHub client ID for Rancher to use, if using GH auth"
}
variable "github_client_secret" {
type = string
default = ""
description = "GitHub client secret for Rancher to use, if using GH auth"
}
variable "le_email" {
type = string
default = "none@none.com"
description = "LetsEncrypt email address to use"
}
variable "domain" {
type = string
default = "eng.rancher.space"
}
variable "r53_domain" {
type = string
default = ""
description = "DNS domain for Route53 zone (defaults to domain if unset)"
}
variable "instance_type" {
type = string
default = "t3.large"
}
variable "master_node_count" {
type = number
default = 3
description = "Number of master nodes to launch"
}
variable "worker_node_count" {
type = number
default = 3
description = "Number of worker nodes to launch"
}
variable "rancher_nodes_in_asgs" {
type = bool
default = true
description = "Control whether to put Rancher nodes in ASGs"
}
variable "instance_ssh_user" {
type = string
default = "ubuntu"
description = "Username for sshing into instances"
}
variable "certmanager_version" {
type = string
default = "0.10.0"
description = "Version of cert-manager to install"
}
variable "rancher2_github_auth_enabled" {
type = bool
default = false
description = "Whether to use GitHub authentication for Rancher"
}
variable "rancher2_github_auth_user" {
type = string
default = "3430214"
description = "GitHub numerical ID of user to grant Rancher access to"
}
variable "rancher2_github_auth_org" {
type = string
default = "53273206"
description = "GitHub numerical ID of organization to grant Rancher access to"
}
variable "rancher2_github_auth_team" {
type = string
default = "3414845"
description = "GitHub numerical ID of team to grant Rancher access to"
}
variable "rancher2_extra_allowed_gh_principals" {
type = list
default = []
description = "List of principals in form github_user://IDNUM to be given Rancher access"
}
variable "rancher2_master_subnet_ids" {
type = list
default = []
description = "List of subnet ids for Rancher master nodes"
}
variable "rancher2_worker_subnet_ids" {
type = list
default = []
description = "List of subnet ids for Rancher worker nodes"
}
variable "use_default_vpc" {
type = bool
default = true
description = "Should the default VPC for the region selected be used for Rancher"
}
variable "vpc_id" {
type = string
default = null
description = "If use_default_vpc is false, the vpc id that Rancher should use"
}
variable "aws_elb_subnet_ids" {
type = list
default = []
description = "List of subnet ids in which to place the AWS ELB"
}
variable "rke_backups_region" {
type = string
default = ""
description = "Region to perform backups to S3 in. Defaults to aws_region"
}
variable "rke_backups_s3_endpoint" {
type = string
default = ""
description = "Override for S3 endpoint to use for backups"
}
variable "aws_region" {
type = string
default = "us-west-2"
}
variable "aws_profile" {
type = string
default = "rancher-eng"
}
variable "creds_output_path" {
description = "Where to save the id_rsa config file. Should end in a forward slash `/` ."
type = string
default = "./"
}