From 016dcaf33122c363d02bd91b4625e0c8f977da18 Mon Sep 17 00:00:00 2001 From: youngookkim Date: Fri, 22 Apr 2022 15:04:04 +0900 Subject: [PATCH] feat(aurora): database name output (#32) --- outputs.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/outputs.tf b/outputs.tf index a12b462..0c01b9a 100644 --- a/outputs.tf +++ b/outputs.tf @@ -22,7 +22,7 @@ output "user" { description = "The master user credential of the Aurora cluster" sensitive = true value = zipmap( - ["name", "password"], - [aws_rds_cluster.db.master_username, random_password.password.result] + ["database", "name", "password"], + [aws_rds_cluster.db.database_name, aws_rds_cluster.db.master_username, random_password.password.result] ) }