Skip to content

Commit 275cb49

Browse files
committed
Fix deprecated valkey props
1 parent 0234591 commit 275cb49

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

modules/redis-cluster/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ Check the [example/](https://github.com/terraform-google-modules/terraform-googl
5959

6060
| Name | Description |
6161
|------|-------------|
62-
| discovery\_endpoints | Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported |
62+
| discovery\_endpoints | (Deprecated) Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported |
63+
| endpoints | Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported |
6364
| id | The redis cluster instance ID |
6465
| psc\_connections | PSC connections for discovery of the cluster topology and accessing the cluster |
6566
| psc\_service\_attachments | The PSC service attachments of the cluster |

modules/redis-cluster/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ spec:
157157
defaultValue: []
158158
outputs:
159159
- name: discovery_endpoints
160+
description: (Deprecated) Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported
161+
- name: endpoints
160162
description: Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported
161163
type:
162164
- list

modules/redis-cluster/outputs.tf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,15 @@ output "id" {
2020
}
2121

2222
output "discovery_endpoints" {
23-
description = "Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported"
23+
description = "(Deprecated) Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported"
2424
value = google_redis_cluster.redis_cluster.discovery_endpoints
2525
}
2626

27+
output "endpoints" {
28+
description = "Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported"
29+
value = google_redis_cluster.redis_cluster.endpoints
30+
}
31+
2732
output "psc_connections" {
2833
description = "PSC connections for discovery of the cluster topology and accessing the cluster"
2934
value = google_redis_cluster.redis_cluster.psc_connections

0 commit comments

Comments
 (0)