diff --git a/outputs.tf b/outputs.tf index 9f3842b..2d1f3d5 100644 --- a/outputs.tf +++ b/outputs.tf @@ -22,3 +22,8 @@ output "host" { value = module.dns.hostname description = "Redis hostname" } + +output "reader_endpoint_address" { + value = join("", compact(aws_elasticache_replication_group.default[*].reader_endpoint_address)) + description = "The address of the endpoint for the reader node in the replication group, if the cluster mode is disabled." +}