File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,17 @@ output "redis_endpoint" {
2121 description = " Redis endpoint address."
2222}
2323
24+ output "redis_arn" {
25+ value = length (aws_elasticache_replication_group. cluster ) > 0 ? aws_elasticache_replication_group. cluster [0 ]. arn : length (aws_elasticache_replication_group. default ) > 0 ? aws_elasticache_replication_group. default [0 ]. arn : " "
26+ description = " Redis arn"
27+ }
28+
2429output "memcached_endpoint" {
2530 value = var. cluster_enabled ? join (" " , aws_elasticache_cluster. default . * . configuration_endpoint ) : " "
2631 description = " Memcached endpoint address."
2732}
33+
34+ output "memcached_arn" {
35+ value = length (aws_elasticache_cluster. default ) > 0 ? aws_elasticache_cluster. default [0 ]. arn : " "
36+ description = " Memcached arn"
37+ }
You can’t perform that action at this time.
0 commit comments