-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
49 lines (43 loc) · 1.22 KB
/
variables.tf
File metadata and controls
49 lines (43 loc) · 1.22 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
variable "engine_version" {
type = string
default = "3.9.13"
description = <<EOF
Configure the engine version of RabbitMQ.
See https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/rabbitmq-version-management.html
EOF
}
variable "instance_type" {
type = string
default = "mq.t3.micro"
description = <<EOF
Configure the instance type of the RabbitMQ nodes.
Examples: mq.t3.micro, mq.m5.large
See https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-instance-types.html
EOF
}
variable "deployment_mode" {
type = string
default = "SINGLE_INSTANCE"
description = <<EOF
Configures how nodes are deployed in the RabbitMQ cluster.
Available options: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ, CLUSTER_MULTI_AZ
EOF
}
variable "maintenance_window" {
type = object({
day_of_week : string
time_of_day : string
})
default = {
day_of_week = "MONDAY"
time_of_day = "02:00"
}
description = <<EOF
The day/time to perform maintenance on the cluster.
Specify day of week and time of day in the UTC time zone.
By default, set to { day_of_week = "MONDAY", time_of_day = "02:00" }.
EOF
}
locals {
port = 5671
}