-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathvariables.tf
65 lines (57 loc) · 2.07 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
variable "redis_config" {
type = any
default = {
name = ""
environment = ""
master_volume_size = ""
architecture = "replication"
app_version = "7.2.5-debian-12-r2"
slave_replica_count = 1
slave_volume_size = ""
storage_class_name = ""
store_password_to_secret_manager = true
values_yaml = ""
}
description = "Specify the configuration settings for Redis, including the name, environment, storage options, replication settings, store password to secret manager and custom YAML values."
}
variable "chart_version" {
type = string
default = "19.6.1"
description = "Version of the chart for the Redis application that will be deployed."
}
variable "namespace" {
type = string
default = "redis"
description = "Namespace where the Redis resources will be deployed."
}
variable "grafana_monitoring_enabled" {
type = bool
default = false
description = "Specify whether or not to deploy Redis exporter to collect Redis 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 it can delete the secret. The value can be 0 to force deletion without recovery, or a range from 7 to 30 days."
}
variable "create_namespace" {
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."
default = true
}
variable "custom_credentials_enabled" {
type = bool
default = false
description = "Specifies whether to enable custom credentials for Redis."
}
variable "custom_credentials_config" {
type = any
default = {
password = ""
}
description = "Specify the configuration settings for Redis to pass custom credentials during creation."
}
variable "redis_password" {
type = string
default = ""
}