Skip to content

Commit c7923af

Browse files
committed
expose the cluster_id attribute on the module output
1 parent 3e17c95 commit c7923af

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
@@ -2,6 +2,11 @@
22
# Cluster
33
################################################################################
44

5+
output "cluster_id" {
6+
description = "The ID of the ElastiCache Cluster"
7+
value = try(aws_elasticache_cluster.this[0].id, null)
8+
}
9+
510
output "cluster_arn" {
611
description = "The ARN of the ElastiCache Cluster"
712
value = try(aws_elasticache_cluster.this[0].arn, null)

0 commit comments

Comments
 (0)