-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathvariable.tf
More file actions
131 lines (107 loc) · 2.92 KB
/
variable.tf
File metadata and controls
131 lines (107 loc) · 2.92 KB
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
#global
variable "cluster_name" {
default = ""
description = "Name of the cluster (must be uniq per region)"
}
variable "region" {
default = ""
description = "AWS region to setup the cluster"
}
# network
variable "azs_name" {
default = ""
description = "Availability zones across to setup the cluster (default all from the region)"
}
variable "azs_count" {
default = 3
}
variable "network_number" {
default = "200"
description = "unique ip cluster identifier must be between 1-254, to match 10.<num>.0.0/16 CIDR"
}
variable "bastion_extra_user_data" {
default = ""
description = "extra configuration for user data"
}
#zookeeper
variable "zookeeper_ami" {
default = ""
description = "AMI for zookeeper instance"
}
variable "zookeeper_instance_type" {
default = ""
description = "Type of amazon instance use to run zookeeper"
}
variable "zookeeper_capacity" {
default = "3"
description = "number of desired instance in the initialisation of ASG"
}
variable "zookeeper_extra_user_data" {
default = ""
description = "extra configuration for user data"
}
#mesos master
variable "master_ami" {
default = ""
description = "AMI for mesos-master instance"
}
variable "master_instance_type" {
default = ""
description = "Type of amazon instance use to run mesos-master"
}
variable "master_capacity" {
default = "3"
description = "number of desired instance in the initialisation of ASG"
}
variable "master_extra_user_data" {
default = ""
description = "extra configuration for user data"
}
#mesos agent
variable "agent_ami" {
default = ""
description = "AMI for mesos-agent instance"
}
variable "agent_instance_type" {
default = ""
description = "Type of amazon instance use to run mesos-agent"
}
variable "agent_min_capacity" {
default = "3"
description = "number of desired instance in the initialisation of ASG"
}
variable "agent_max_capacity" {
default = "30"
description = "max number of instance in the ASG"
}
variable "agent_extra_user_data" {
default = ""
description = "extra configuration for user data"
}
# access related
variable "aws_key_name" {
default = ""
description = "amazon ssh key to use during setup of all instance"
}
# dns related
variable "route_zone_id" {
default = ""
description = "Zone id where to create subdomain (based on name of the cluster)"
}
variable "fqdn" {
default = ""
description = "First level domain where to create subdomain"
}
# Tags
variable "tag_product" {
default = "mesos"
description = "when setup a product tag is setup on all resources, except agent , with that value"
}
variable "tag_product_agent" {
default = "mesos"
description = "when setup a product tag is setup on all agent, with that value"
}
variable "tag_purpose" {
default = "test"
description = "when setup a purpose tag is setup on all resources, with that value"
}