From 26751c203c10ede45160c75f7477644353c98094 Mon Sep 17 00:00:00 2001 From: RB <7775707+nitrocode@users.noreply.github.com> Date: Fri, 16 May 2025 00:02:12 -0500 Subject: [PATCH 1/2] feat: rds cluster output --- outputs.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/outputs.tf b/outputs.tf index 3663691..a417760 100644 --- a/outputs.tf +++ b/outputs.tf @@ -93,3 +93,8 @@ output "reserved_instance" { value = aws_rds_reserved_instance.default description = "All information about the reserved instance(s) if created." } + +output "aws_rds_cluster" { + value = local.is_regional_cluster ? join("", aws_rds_cluster.primary[*]) : join("", aws_rds_cluster.secondary[*]) + description = "Escape hatch for all aws_rds_cluster outputs" +} From 4f39711b8002e08c8528f89e814e6c63aa960a1d Mon Sep 17 00:00:00 2001 From: RB <7775707+nitrocode@users.noreply.github.com> Date: Fri, 16 May 2025 00:06:11 -0500 Subject: [PATCH 2/2] fix: rm trailing whitespace --- outputs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outputs.tf b/outputs.tf index a417760..9a77b0f 100644 --- a/outputs.tf +++ b/outputs.tf @@ -96,5 +96,5 @@ output "reserved_instance" { output "aws_rds_cluster" { value = local.is_regional_cluster ? join("", aws_rds_cluster.primary[*]) : join("", aws_rds_cluster.secondary[*]) - description = "Escape hatch for all aws_rds_cluster outputs" + description = "Escape hatch for all aws_rds_cluster outputs" }