Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules/redis-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ Check the [example/](https://github.com/terraform-google-modules/terraform-googl

| Name | Description |
|------|-------------|
| discovery\_endpoints | Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported |
| discovery\_endpoints | (Deprecated) Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported |
| endpoints | Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported |
| id | The redis cluster instance ID |
| psc\_connections | PSC connections for discovery of the cluster topology and accessing the cluster |
| psc\_service\_attachments | The PSC service attachments of the cluster |
Expand Down
2 changes: 2 additions & 0 deletions modules/redis-cluster/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ spec:
defaultValue: []
outputs:
- name: discovery_endpoints
description: (Deprecated) Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported
- name: endpoints
description: Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported
type:
- list
Expand Down
7 changes: 6 additions & 1 deletion modules/redis-cluster/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@ output "id" {
}

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

output "endpoints" {
description = "Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported"
value = google_redis_cluster.redis_cluster.endpoints
}

output "psc_connections" {
description = "PSC connections for discovery of the cluster topology and accessing the cluster"
value = google_redis_cluster.redis_cluster.psc_connections
Expand Down
Loading