-
Notifications
You must be signed in to change notification settings - Fork 1
/
rabbitmq.cluster-variables.tf
43 lines (37 loc) · 1.13 KB
/
rabbitmq.cluster-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
/*
| --
| -- Six cluster nodes are a good fit for regions with 3 availability zones
| -- as failures in two zones will robustly see 2 nodes servicing the queue's
| -- producers and consumers.
| --
| -- Even with the auto-scaling solution you should look to maintain a minimum
| -- of 6 nodes and upscale in multiples of 3 capped at 60 nodes.
| --
| -- If you have an eye on costs then consider downgrading the instance type
| -- rather than the number of instances.
| --
*/
variable in_initial_node_count
{
description = "The number of nodes that this cluster will be brought up with."
default = 6
}
/*
| --
| -- You can override this variable and pass in a more appropriate
| -- name for the eco-system (or subsystem) being engineered.
| --
*/
variable in_ecosystem_name
{
description = "The name of this ecosystem which by default is rabbitmq-cluster."
default = "rabbitmq-cluster"
}
### ################# ###
### in_ssh_public_key ###
### ################# ###
variable in_ssh_public_key
{
description = "The public key for accessing both the DMZ bastion and the nodes behind enemy lines."
default = ""
}