You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="The port number on which Redis is running."
1
+
output"redis_endpoints" {
2
+
description="Redis endpoints in the Kubernetes cluster."
3
+
value=module.redis.redis_endpoints
4
4
}
5
5
6
-
output"redis_master_endpoint" {
7
-
value=module.redis.redis_master_endpoint
8
-
description="The endpoint for the Redis Master Service, which is the primary node in the Redis cluster responsible for handling read-write operations."
9
-
}
10
-
11
-
output"redis_slave_endpoint" {
12
-
value=module.redis.redis_slave_endpoint
13
-
description="The endpoint for the Redis Slave Service, which is a secondary node in the Redis cluster responsible for handling read-only operations."
6
+
output"redis_credential" {
7
+
description="Redis credentials used for accessing the database."
description="The endpoint for the Redis Master Service, which is the primary node in the Redis cluster responsible for handling read-write operations."
Copy file name to clipboardExpand all lines: variables.tf
+24-9Lines changed: 24 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,17 @@
1
1
variable"redis_config" {
2
2
type=any
3
3
default={
4
-
name =""
5
-
environment =""
6
-
master_volume_size =""
7
-
architecture ="replication"
8
-
slave_replica_count =1
9
-
slave_volume_size =""
10
-
storage_class_name =""
11
-
values_yaml =""
4
+
name =""
5
+
environment =""
6
+
master_volume_size =""
7
+
architecture ="replication"
8
+
slave_replica_count =1
9
+
slave_volume_size =""
10
+
storage_class_name =""
11
+
store_password_to_secret_manager =""
12
+
values_yaml =""
12
13
}
13
-
description="Specify the configuration settings for Redis, including the name, environment, storage options, replication settings, and custom YAML values."
14
+
description="Specify the configuration settings for Redis, including the name, environment, storage options, replication settings, store password to secret manager and custom YAML values."
14
15
}
15
16
16
17
variable"chart_version" {
@@ -48,3 +49,17 @@ variable "create_namespace" {
48
49
description="Specify whether or not to create the namespace if it does not already exist. Set it to true to create the namespace."
49
50
default=true
50
51
}
52
+
53
+
variable"custom_credentials_enabled" {
54
+
type=bool
55
+
default=false
56
+
description="Specifies whether to enable custom credentials for Redis."
57
+
}
58
+
59
+
variable"custom_credentials_config" {
60
+
type=any
61
+
default={
62
+
password =""
63
+
}
64
+
description="Specify the configuration settings for Redis to pass custom credentials during creation."
0 commit comments