-
Notifications
You must be signed in to change notification settings - Fork 3
/
dcos_core_variables.aws.tf
570 lines (454 loc) · 19 KB
/
dcos_core_variables.aws.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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
# Main Variables
variable "dcos_variant" {
description = "Specifies which DC/OS variant it should be: `open` (Open Source) or `ee` (Enterprise Edition)"
default = "open"
}
variable "bootstrap_private_ip" {
default = ""
description = "Private IP bootstrap nginx is listening on. Used to build the bootstrap URL."
}
variable "dcos_version" {
default = "2.0.0"
description = "Specifies which DC/OS version instruction to use. Options: 2.0.0, 1.13.6, 1.12.4, 1.11.12, etc. See https://versions.d2iq.com/version for a full list."
}
variable "dcos_image_commit" {
description = "The commit hash for the build of DC/OS"
default = ""
}
# DCOS bootstrap node variables
variable "dcos_security" {
default = ""
description = "[Enterprise DC/OS] set the security level of DC/OS, either 'strict' or 'permissive'. Default is 'permissive'. (recommended)"
}
variable "dcos_resolvers" {
default = ["169.254.169.253"]
description = "A YAML nested list (-) of DNS resolvers for your DC/OS cluster nodes. (recommended)"
}
variable "dcos_skip_checks" {
default = false
description = "Upgrade option: Used to skip all dcos checks that may block an upgrade if any DC/OS component is unhealthly. (optional) applicable: 1.10+"
}
variable "dcos_oauth_enabled" {
default = ""
description = "[Open DC/OS Only] Indicates whether to enable authentication for your cluster. (optional)"
}
variable "dcos_master_external_loadbalancer" {
default = ""
description = "Allows DC/OS to configure certs around the External Load Balancer name. If not used SSL verfication issues will arrise. EE only. (recommended)"
}
variable "dcos_master_discovery" {
default = "static"
description = "The Mesos master discovery method. The available options are static or master_http_loadbalancer. (recommend the use of master_http_loadbalancer)"
}
variable "dcos_aws_template_storage_bucket" {
default = ""
description = "AWS CloudFormation bucket name (optional)"
}
variable "dcos_aws_template_storage_bucket_path" {
default = ""
description = "AWS CloudFormation bucket path (optional)"
}
variable "dcos_aws_template_storage_region_name" {
default = ""
description = "AWS CloudFormation region name (optional)"
}
variable "dcos_aws_template_upload" {
default = ""
description = "To automatically upload the customized advanced templates to your S3 bucket. (optional)"
}
variable "dcos_aws_template_storage_access_key_id" {
default = ""
description = "AWS key ID for CloudFormation template storage (optional)"
}
variable "dcos_aws_template_storage_secret_access_key" {
default = ""
description = "AWS secret key for the CloudFormation template (optional)"
}
variable "dcos_exhibitor_storage_backend" {
default = "static"
description = "options are static, aws_s3, azure, or zookeeper (recommended)"
}
variable "dcos_exhibitor_zk_hosts" {
default = ""
description = "a comma-separated list of one or more ZooKeeper node IP and port addresses to use for configuring the internal Exhibitor instances. (not recommended but required with exhibitor_storage_backend set to ZooKeeper. Use aws_s3 or azure instead. Assumes external ZooKeeper is already online.)"
}
variable "dcos_exhibitor_zk_path" {
default = ""
description = "the filepath that Exhibitor uses to store data (not recommended but required with exhibitor_storage_backend set to zookeeper. Use aws_s3 or azureinstead. Assumes external ZooKeeper is already online.)"
}
variable "dcos_aws_access_key_id" {
default = ""
description = "AWS key ID for exhibitor storage (optional but required with dcos_exhibitor_address)"
}
variable "dcos_aws_region" {
default = ""
description = "AWS region for exhibitor storage (optional but required with dcos_exhibitor_address)"
}
variable "dcos_aws_secret_access_key" {
default = ""
description = "AWS secret key for exhibitor storage (optional but required with dcos_exhibitor_address)"
}
variable "dcos_exhibitor_explicit_keys" {
default = ""
description = "set whether you are using AWS API keys to grant Exhibitor access to S3. (optional)"
}
variable "dcos_s3_bucket" {
default = ""
description = "name of the s3 bucket for the exhibitor backend (recommended but required with dcos_exhibitor_address)"
}
variable "dcos_s3_prefix" {
default = ""
description = "name of the s3 prefix for the exhibitor backend (recommended but required with dcos_exhibitor_address)"
}
variable "dcos_exhibitor_azure_account_name" {
default = ""
description = "the azure account name for exhibitor storage (optional but required with dcos_exhibitor_address)"
}
variable "dcos_exhibitor_azure_account_key" {
default = ""
description = "the azure account key for exhibitor storage (optional but required with dcos_exhibitor_address)"
}
variable "dcos_exhibitor_azure_prefix" {
default = ""
description = "the azure account name for exhibitor storage (optional but required with dcos_exhibitor_address)"
}
variable "dcos_exhibitor_address" {
default = ""
description = "The address of the load balancer in front of the masters (recommended)"
}
variable "num_of_public_agents" {
description = "Specify the amount of public agents. These agents will host marathon-lb and edgelb"
default = ""
}
variable "num_of_private_agents" {
description = "Specify the amount of private agents. These agents will provide your main resources"
default = ""
}
variable "dcos_num_masters" {
default = ""
description = "set the num of master nodes (required with exhibitor_storage_backend set to aws_s3, azure, ZooKeeper)"
}
variable "dcos_customer_key" {
default = ""
description = "[Enterprise DC/OS] sets the customer key (optional)"
}
variable "dcos_rexray_config_method" {
default = ""
description = "The REX-Ray configuration method for enabling external persistent volumes in Marathon. (optional)"
}
variable "dcos_rexray_config_filename" {
default = ""
description = "The REX-Ray configuration filename for enabling external persistent volumes in Marathon. (optional)"
}
variable "dcos_adminrouter_tls_1_0_enabled" {
default = ""
description = "Indicates whether to enable TLSv1 support in Admin Router. (optional)"
}
variable "dcos_adminrouter_tls_1_1_enabled" {
default = ""
description = "Indicates whether to enable TLSv1.1 support in Admin Router. (optional)"
}
variable "dcos_adminrouter_tls_1_2_enabled" {
default = ""
description = "Indicates whether to enable TLSv1.2 support in Admin Router. (optional)"
}
variable "dcos_adminrouter_tls_cipher_suite" {
default = ""
description = "[Enterprise DC/OS] Indicates whether to allow web browsers to send the DC/OS authentication cookie through a non-HTTPS connection. (optional)"
}
variable "dcos_auth_cookie_secure_flag" {
default = ""
description = "[Enterprise DC/OS] allow web browsers to send the DC/OS authentication cookie through a non-HTTPS connection. (optional)"
}
variable "dcos_bouncer_expiration_auth_token_days" {
default = ""
description = "[Enterprise DC/OS] Sets the auth token time-to-live (TTL) for Identity and Access Management. (optional)"
}
variable "dcos_superuser_password_hash" {
default = ""
description = "[Enterprise DC/OS] set the superuser password hash (recommended)"
}
variable "dcos_cluster_name" {
default = ""
description = "sets the DC/OS cluster name"
}
variable "dcos_ca_certificate_chain_path" {
default = ""
description = "[Enterprise DC/OS] Path (relative to the $DCOS_INSTALL_DIR) to a file containing the complete CA certification chain required for end-entity certificate verification, in the OpenSSL PEM format. (optional)"
}
variable "dcos_ca_certificate_path" {
default = ""
description = "[Enterprise DC/OS] Path (relative to the $DCOS_INSTALL_DIR) to a file containing a single X.509 CA certificate in the OpenSSL PEM format. (optional)"
}
variable "dcos_ca_certificate_key_path" {
description = "[Enterprise DC/OS] Path (relative to the $DCOS_INSTALL_DIR) to a file containing a single X.509 certificate private key in the OpenSSL PEM format. (optional)"
default = ""
}
variable "dcos_config" {
default = ""
description = "used to add any extra arguments in the config.yaml that are not specified here. (optional)"
}
variable "dcos_custom_checks" {
default = ""
description = "Custom installation checks that are added to the default check configuration process. (optional)"
}
variable "dcos_dns_bind_ip_blacklist" {
default = ""
description = "A list of IP addresses that DC/OS DNS resolvers cannot bind to. (optional)"
}
variable "dcos_enable_gpu_isolation" {
default = ""
description = "Indicates whether to enable GPU support in DC/OS. (optional)"
}
variable "dcos_fault_domain_detect_contents" {
default = ""
description = "[Enterprise DC/OS] fault domain script contents. Optional but required if no fault-domain-detect script present."
}
variable "dcos_fault_domain_enabled" {
default = ""
description = "[Enterprise DC/OS] used to control if fault domain is enabled"
}
variable "dcos_gpus_are_scarce" {
default = ""
description = "Indicates whether to treat GPUs as a scarce resource in the cluster. (optional)"
}
variable "dcos_l4lb_enable_ipv6" {
default = ""
description = "A boolean that indicates if layer 4 load balancing is available for IPv6 networks. (optional)"
}
variable "dcos_license_key_contents" {
default = ""
description = "[Enterprise DC/OS] used to privide the license key of DC/OS for Enterprise Edition. Optional if license.txt is present on bootstrap node."
}
variable "dcos_mesos_container_log_sink" {
default = ""
description = "The log manager for containers (tasks). The options are to send logs to: 'journald', 'logrotate', 'journald+logrotate'. (optional)"
}
variable "dcos_mesos_dns_set_truncate_bit" {
default = ""
description = "Indicates whether to set the truncate bit if the response is too large to fit in a single packet. (optional)"
}
variable "dcos_mesos_max_completed_tasks_per_framework" {
default = ""
description = "The number of completed tasks for each framework that the Mesos master will retain in memory. (optional)"
}
variable "dcos_ucr_default_bridge_subnet" {
default = ""
description = "IPv4 subnet allocated to the mesos-bridge CNI network for UCR bridge-mode networking. (optional)"
}
variable "dcos_superuser_username" {
default = ""
description = "[Enterprise DC/OS] set the superuser username (recommended)"
}
variable "dcos_telemetry_enabled" {
default = ""
description = "Change the telemetry option (optional)"
}
variable "dcos_zk_super_credentials" {
default = ""
description = "[Enterprise DC/OS] set the zk super credentials (recommended)"
}
variable "dcos_zk_master_credentials" {
default = ""
description = "[Enterprise DC/OS] set the ZooKeeper master credentials (recommended)"
}
variable "dcos_zk_agent_credentials" {
default = ""
description = "[Enterprise DC/OS] set the ZooKeeper agent credentials (recommended)"
}
variable "dcos_overlay_enable" {
default = ""
description = "Enable to disable overlay (optional)"
}
variable "dcos_overlay_config_attempts" {
default = ""
description = "Specifies how many failed configuration attempts are allowed before the overlay configuration modules stop trying to configure an virtual network. (optional)"
}
variable "dcos_overlay_mtu" {
default = ""
description = "The maximum transmission unit (MTU) of the Virtual Ethernet (vEth) on the containers that are launched on the overlay. (optional)"
}
variable "dcos_overlay_network" {
default = ""
description = "This group of parameters define an virtual network for DC/OS. (optional)"
}
variable "dcos_dns_search" {
default = ""
description = "A space-separated list of domains that are tried when an unqualified domain is entered. (optional)"
}
variable "dcos_dns_forward_zones" {
default = ""
description = "Allow to forward DNS to certain domain requests to specific server. The following syntax must be used in combination with Terraform string heredoc. (optional) (:warning: DC/OS 1.10+)"
}
variable "dcos_master_dns_bindall" {
default = ""
description = "Indicates whether the master DNS port is open. (optional)"
}
variable "dcos_use_proxy" {
default = ""
description = "To enable use of proxy for internal routing (optional)"
}
variable "dcos_http_proxy" {
default = ""
description = "http proxy (optional)"
}
variable "dcos_https_proxy" {
default = ""
description = "https proxy (optional)"
}
variable "dcos_no_proxy" {
default = ""
description = "A YAML nested list (-) of addresses to exclude from the proxy. (optional)"
}
variable "dcos_check_time" {
default = ""
description = "Check if Network Time Protocol (NTP) is enabled during DC/OS startup. (optional)"
}
variable "dcos_docker_remove_delay" {
default = ""
description = "The amount of time to wait before removing stale Docker images stored on the agent nodes and the Docker image generated by the installer. (optional)"
}
variable "dcos_audit_logging" {
default = ""
description = "[Enterprise DC/OS] enable security decisions are logged for Mesos, Marathon, and Jobs. (optional)"
}
variable "dcos_gc_delay" {
default = ""
description = "The maximum amount of time to wait before cleaning up the executor directories (optional)"
}
variable "dcos_log_directory" {
default = ""
description = "The path to the installer host logs from the SSH processes. (optional)"
}
variable "dcos_process_timeout" {
default = ""
description = "The allowable amount of time, in seconds, for an action to begin after the process forks. (optional)"
}
variable "dcos_cluster_docker_credentials" {
default = ""
description = "Dictionary of Docker credentials to pass. (optional)"
}
variable "dcos_cluster_docker_credentials_dcos_owned" {
default = ""
description = "Indicates whether to store the credentials file in /opt/mesosphere or /etc/mesosphere/docker_credentials. A sysadmin cannot edit /opt/mesosphere directly (optional)"
}
variable "dcos_cluster_docker_credentials_write_to_etc" {
default = ""
description = "Indicates whether to write a cluster credentials file. (optional)"
}
variable "dcos_cluster_docker_credentials_enabled" {
default = ""
description = "Indicates whether to pass the Mesos --docker_config option to Mesos. (optional)"
}
variable "dcos_master_list" {
default = ""
description = "statically set your master nodes (not recommended but required with exhibitor_storage_backend set to static. Use aws_s3 or azure instead, that way you can replace masters in the cloud.)"
}
variable "dcos_public_agent_list" {
default = []
description = "statically set your public agents (not recommended)"
}
variable "dcos_previous_version" {
default = ""
description = "DC/OS 1.9+ requires users to set this value to ensure users know the version. Terraform helps populate this value, but users can override it here. (recommended)"
}
variable "dcos_previous_version_master_index" {
default = "0"
description = "Used to track the index of master for quering the previous DC/OS version during upgrading. (optional) applicable: 1.9+"
}
variable "dcos_agent_list" {
default = []
description = "used to list the agents in the config.yaml (optional)"
}
variable "dcos_bootstrap_port" {
default = "8080"
description = "Port of the bootstrap URL"
}
variable "dcos_ip_detect_public_filename" {
default = "genconf/ip-detect-public"
description = "statically set your detect-ip-public path"
}
variable "dcos_ip_detect_public_contents" {
default = ""
description = "Allows DC/OS to be aware of your publicly routeable address for ease of use (recommended)"
}
variable "dcos_ip_detect_contents" {
default = ""
description = "Allows DC/OS to detect your private address. Use this to pass this as an input to the module rather than a file in side your bootstrap node. (recommended)"
}
variable "dcos_rexray_config" {
default = ""
description = "The REX-Ray configuration method for enabling external persistent volumes in Marathon. (optional)"
}
variable "dcos_cluster_docker_registry_url" {
default = ""
description = "The custom URL that Mesos uses to pull Docker images from. If set, it will configure the Mesos --docker_registry flag to the specified URL. (optional)"
}
variable "custom_dcos_download_path" {
default = ""
description = "insert location of dcos installer script (optional)"
}
variable "custom_dcos_windows_download_path" {
default = ""
description = "[DEPRECATED] insert location of dcos windows installer script (optional)"
}
variable "dcos_enable_windows_agents" {
default = ""
description = "[DEPRECATED] enable windows agents. value must be true or false (optional)"
}
variable "dcos_cluster_docker_registry_enabled" {
description = "DC/OS cluster docker registry enabled"
default = ""
}
variable "dcos_enable_docker_gc" {
default = ""
description = "Indicates whether to run the docker-gc script, a simple Docker container and image garbage collection script, once every hour to clean up stray Docker containers. (optional)"
}
variable "dcos_staged_package_storage_uri" {
default = ""
description = "Where to temporarily store DC/OS packages while they are being added. (optional)"
}
variable "dcos_package_storage_uri" {
default = ""
description = "Where to permanently store DC/OS packages. The value must be a file URL. (optional)"
}
variable "dcos_enable_mesos_input_plugin" {
default = ""
description = "Indicates whether to enable Telegraf's Mesos input plugin to collect Mesos metrics from Mesos masters and agents. Options: `true` or `false` (optional)"
}
variable "dcos_download_url_checksum" {
description = "Custom DC/OS download URL SHA256 Checksum. Empty string omits checking."
default = ""
}
variable "dcos_versions_service_url" {
default = "https://versions.d2iq.com"
description = "DC/OS Versions Service allows to identify DC/OS versions"
}
variable "dcos_calico_network_cidr" {
default = ""
description = "Subnet allocated for calico"
}
variable "dcos_calico_vxlan_enabled" {
default = ""
description = "Control whether IP-in-IP or VXLAN mode is used for calico. (optional)"
}
variable "dcos_calico_ipinip_mtu" {
default = ""
description = "The MTU to set on the Calico IPIP tunnel device. (optional)"
}
variable "dcos_calico_vxlan_vni" {
default = ""
description = "The virtual network ID used for calico VXLAN. (optional)"
}
variable "dcos_calico_vxlan_mtu" {
default = ""
description = "The MTU to set on the Calico VXLAN tunnel device. (optional)"
}
variable "dcos_calico_vxlan_port" {
default = ""
description = "The UDP port used for calico VXLAN. This configuration works when dcos_calico_vxlan_enabled is set to be true. (optional)"
}
variable "dcos_calico_veth_mtu" {
default = ""
description = "The MTU to set on the veth pair devices. (optional)"
}