-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
77 lines (67 loc) · 2.41 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
70
71
72
73
74
75
76
77
variable "rabbitmq_config" {
default = {
name = ""
environment = ""
replica_count = 2
storage_class_name = ""
volume_size = ""
hostname = ""
store_password_to_secret_manager = ""
values_yaml = ""
}
type = any
description = "Specify the configuration settings for RabbitMQ, including the name, environment, storage options, replication settings, and custom YAML values."
}
variable "username" {
default = "admin"
type = string
description = "Username that will be used for authentication when connecting to the RabbitMQ cluster."
}
variable "namespace" {
default = "rabbitmq"
type = string
description = "Name of the Kubernetes namespace where the RabbitMQ deployment will be deployed."
}
variable "chart_version" {
default = "14.4.6"
type = string
description = "Version of the RabbitMQ chart that will be used to deploy the message broker."
}
variable "rabbitmq_exporter_enabled" {
default = true
type = bool
description = "Specify whether or not to deploy RabbitMQ exporter to collect RabbitMQ metrics for monitoring in Grafana."
}
variable "recovery_window_aws_secret" {
default = 0
type = number
description = "Number of days that AWS Secrets Manager will wait before deleting a secret. This value can be set to 0 to force immediate deletion, or to a value between 7 and 30 days to allow for recovery."
}
variable "create_namespace" {
default = true
type = string
description = "Specify whether or not to create the namespace if it does not already exist. Set it to true to create the namespace."
}
variable "custom_credentials_enabled" {
type = bool
default = false
description = "Specifies whether to enable custom credentials for Rabbitmq."
}
variable "custom_credentials_config" {
type = any
default = {
rabbitmq_password = "",
erlangcookie_password = ""
}
description = "Specify the configuration settings for Rabbitmq to pass custom credentials during creation."
}
variable "erlangcookie_password" {
description = "password for Rabbitmq erlangcookie"
type = string
default = ""
}
variable "rabbitmq_password" {
description = "password for Rabbitmq"
type = string
default = ""
}