From c7923af4275e9b3cfa88c4d8dbc09a9deded479a Mon Sep 17 00:00:00 2001 From: Florin Andrei <901867+FlorinAndrei@users.noreply.github.com> Date: Fri, 24 Oct 2025 14:08:42 -0700 Subject: [PATCH] expose the cluster_id attribute on the module output --- outputs.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/outputs.tf b/outputs.tf index 79fad03..e928a46 100644 --- a/outputs.tf +++ b/outputs.tf @@ -2,6 +2,11 @@ # Cluster ################################################################################ +output "cluster_id" { + description = "The ID of the ElastiCache Cluster" + value = try(aws_elasticache_cluster.this[0].id, null) +} + output "cluster_arn" { description = "The ARN of the ElastiCache Cluster" value = try(aws_elasticache_cluster.this[0].arn, null)