forked from linode/terraform-linode-dcos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
60 lines (50 loc) · 1.63 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
variable "dcos_version" {
description = "Specifies which DC/OS version instruction to use"
default = "1.12.2"
}
variable "state" {
description = "Type of command to execute. Options: install or upgrade"
default = "install"
}
variable "region" {
description = "Linode region where the cluster will be deployed"
default = "us-east"
}
variable "instance_type" {
description = "Linode instance type (defines RAM, CPU, Disk)"
default = "g6-standard-6"
}
// https://docs.mesosphere.com/version-policy/
variable "instance_image" {
description = "Linode image to deploy (only tested with: linode/containerlinux)"
default = "linode/containerlinux"
}
variable "num_of_public_agents" {
// https://docs.mesosphere.com/1.12/overview/architecture/node-types/
description = "Number of Public Agents to deploy"
default = "1"
}
variable "num_of_private_agents" {
// https://docs.mesosphere.com/1.12/overview/architecture/node-types/
description = "Number of Private Agents to deploy"
default = "3"
}
variable "dcos_skip_checks" {
description = "Used to skip all dcos checks that may block an upgrade if any DC/OS component is unhealthly"
default = "false"
}
variable "num_of_masters" {
// https://docs.mesosphere.com/1.12/overview/architecture/node-types/
description = "Number of Master Nodes to deploy"
default = "3"
}
variable "ssh_public_key" {
type = "string"
default = "~/.ssh/id_rsa.pub"
description = "The path to your public key"
}
variable "ssh_user" {
type = "string"
default = "core"
description = "The user account to use in SSH commands to the Linode"
}