Skip to content

Commit b896bd8

Browse files
add reader_endpoint_address output to this module. copied from https://github.com/cloudposse/terraform-aws-elasticache-redis/blob/main/outputs.tf
1 parent 0896dc4 commit b896bd8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,8 @@ output "host" {
2222
value = module.dns.hostname
2323
description = "Redis hostname"
2424
}
25+
26+
output "reader_endpoint_address" {
27+
value = join("", compact(aws_elasticache_replication_group.default[*].reader_endpoint_address))
28+
description = "The address of the endpoint for the reader node in the replication group, if the cluster mode is disabled."
29+
}

0 commit comments

Comments
 (0)