This repository has been archived by the owner on Nov 8, 2018. It is now read-only.
forked from ContainerSolutions/terraform-mesos
-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
69 lines (53 loc) · 1.35 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
## credential stuff
# path to the account file
variable "account_file" {}
# the username to connect with
variable "gce_ssh_user" {}
# the private key of the user
variable "gce_ssh_private_key_file" {}
## google project stuff
# the google region where the cluster should be created
variable "region" {}
# the google zone where the cluster should be created
variable "zone" {}
# the ID of the google project
variable "project" {}
# image to use for installation
variable "image" {
default = "centos-cloud/centos-7"
}
variable "master_machine_type" {
default = "n1-highmem-2"
}
variable "slave_machine_type" {
default = "n1-highmem-4"
}
variable "bootstrap_machine_type" {
default = "n1-standard-2"
}
variable "slave_resources" {
type = "string"
default = ""
description = "Overrule default resources of the Mesos slaves depending on slave_machine_type, eg cpus(*):0.90; disk(*):7128. TF doesn't update slave resources."
}
## network stuff
# the address of the subnet in CIDR
variable "subnetwork" {
default = "10.20.30.0/24"
}
# domain name used by haproxy
variable "domain" {}
# the name of the cluster
variable "name" {}
# number of master nodes to install
variable "masters" {
default = "1"
}
# number of slaves to install
variable "slaves" {
default = "3"
}
# distribution redhat/ubuntu
variable "distribution" {
default = "redhat"
}