Skip to content

Commit 26751c2

Browse files
authored
feat: rds cluster output
1 parent e8ce04f commit 26751c2

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
@@ -93,3 +93,8 @@ output "reserved_instance" {
9393
value = aws_rds_reserved_instance.default
9494
description = "All information about the reserved instance(s) if created."
9595
}
96+
97+
output "aws_rds_cluster" {
98+
value = local.is_regional_cluster ? join("", aws_rds_cluster.primary[*]) : join("", aws_rds_cluster.secondary[*])
99+
description = "Escape hatch for all aws_rds_cluster outputs"
100+
}

0 commit comments

Comments
 (0)