Skip to content

Commit cea8760

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

File tree

7 files changed

+5
-13
lines changed

7 files changed

+5
-13
lines changed

modules/redis-cluster/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ 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+
| endpoints | Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported |
6363
| id | The redis cluster instance ID |
6464
| psc\_connections | PSC connections for discovery of the cluster topology and accessing the cluster |
6565
| psc\_service\_attachments | The PSC service attachments of the cluster |

modules/redis-cluster/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ spec:
156156
varType: list(string)
157157
defaultValue: []
158158
outputs:
159-
- name: discovery_endpoints
159+
- name: endpoints
160160
description: Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported
161161
type:
162162
- list

modules/redis-cluster/outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ output "id" {
1919
value = google_redis_cluster.redis_cluster.id
2020
}
2121

22-
output "discovery_endpoints" {
22+
output "endpoints" {
2323
description = "Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported"
24-
value = google_redis_cluster.redis_cluster.discovery_endpoints
24+
value = google_redis_cluster.redis_cluster.endpoints
2525
}
2626

2727
output "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/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ resource "google_memorystore_instance" "valkey_cluster" {
2121
engine_version = var.engine_version
2222
mode = var.mode
2323

24-
desired_psc_auto_connections {
24+
desired_auto_created_endpoints {
2525
network = "projects/${coalesce(var.network_project, var.project_id)}/global/networks/${var.network}"
2626
project_id = var.project_id
2727
}

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)