# ------------------------------------------------------------------------------ # Networking (VPC) # ------------------------------------------------------------------------------ output "vpc_id" { description = "The ID of the VPC." value = module.vpc.vpc_id } output "private_subnet_ids" { description = "List of private subnet IDs for application workloads." value = module.vpc.private_subnets } output "public_subnet_ids" { description = "List of public subnet IDs for load balancers." value = module.vpc.public_subnets } # ------------------------------------------------------------------------------ # Database (RDS) & Secrets Manager # ------------------------------------------------------------------------------ output "rds_endpoint" { description = "The connection endpoint (hostname:port) for the RDS PostgreSQL instance." value = module.rds.db_instance_endpoint } output "rds_address" { description = "The hostname of the RDS instance (without port)." value = module.rds.db_instance_address } output "rds_port" { description = "The database port." value = module.rds.db_instance_port } output "rds_master_user_secret_arn" { description = "ARN of the AWS Secrets Manager secret containing the RDS master username and password." value = module.rds.db_instance_master_user_secret_arn sensitive = true } # ------------------------------------------------------------------------------ # Compute (Auto Scaling Group) # ------------------------------------------------------------------------------ output "autoscaling_group_name" { description = "The name of the application Auto Scaling Group." value = module.asg.autoscaling_group_name }