Skip to content

Commit 0521416

Browse files
committed
Fix deprecated valkey props
1 parent 0234591 commit 0521416

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
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

modules/valkey/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ module "valkey_cluster" {
7070

7171
| Name | Description |
7272
|------|-------------|
73-
| discovery\_endpoints | (Deprecated) Endpoints created on each given network, for valkey clients to connect to the cluster. Currently only one endpoint is supported. Use endpoints instead |
7473
| endpoints | Endpoints for the instance |
7574
| id | The valkey cluster instance ID |
7675
| psc\_auto\_connection | Detailed information of a PSC connection that is created through service connectivity automation |

modules/valkey/metadata.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,6 @@ spec:
169169
start_time_nanos = optional(string)
170170
}))
171171
outputs:
172-
- name: discovery_endpoints
173-
description: (Deprecated) Endpoints created on each given network, for valkey clients to connect to the cluster. Currently only one endpoint is supported. Use endpoints instead
174172
- name: endpoints
175173
description: Endpoints for the instance
176174
- name: id

modules/valkey/outputs.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ output "id" {
1919
value = google_memorystore_instance.valkey_cluster.id
2020
}
2121

22-
output "discovery_endpoints" {
23-
description = "(Deprecated) Endpoints created on each given network, for valkey clients to connect to the cluster. Currently only one endpoint is supported. Use endpoints instead"
24-
value = google_memorystore_instance.valkey_cluster.discovery_endpoints
25-
}
26-
2722
output "psc_connections" {
2823
description = "(Deprecated) PSC connections for discovery of the cluster topology and accessing the cluster. Use psc_auto_connection instead"
2924
value = google_memorystore_instance.valkey_cluster.psc_auto_connections

0 commit comments

Comments
 (0)