From 61a32e506575a3441d88f0f32523227c7730b4a3 Mon Sep 17 00:00:00 2001 From: milldr Date: Thu, 4 Sep 2025 12:40:44 -0400 Subject: [PATCH] feat: expose security group ID for Aurora Postgres cluster - Add security_group_id output to expose the security group ID from the underlying RDS cluster module - This enables proper configuration of inbound and outbound traffic rules for ECS services --- src/outputs.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/outputs.tf b/src/outputs.tf index d13b5a7..b70fbd4 100644 --- a/src/outputs.tf +++ b/src/outputs.tf @@ -67,3 +67,8 @@ output "allowed_security_groups" { value = local.allowed_security_groups description = "The resulting list of security group IDs that are allowed to connect to the Aurora Postgres cluster." } + +output "security_group_id" { + value = module.aurora_postgres_cluster.security_group_id + description = "The security group ID of the Aurora Postgres cluster" +}