Skip to content

Commit 952a0a7

Browse files
committed
fix: 마이그레이션 작업을 위한 rds 주소 output 추가
1 parent 9f0a55e commit 952a0a7

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

terraform/prod/outputs.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,9 @@ output "rds_instance_id" {
4040
value = module.rds.rds_instance_id
4141
sensitive = true
4242
}
43+
44+
output "rds_instance_address" {
45+
description = "The endpoint address of the production RDS instance."
46+
value = module.rds.rds_instance_address
47+
sensitive = true
48+
}

terraform/prod/rds/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ output "rds_instance_identifier" {
1616
output "rds_instance_id" {
1717
value = aws_db_instance.prod.id
1818
}
19+
20+
output "rds_instance_address" {
21+
description = "The endpoint address of the production RDS instance."
22+
value = aws_db_instance.prod.address
23+
}

0 commit comments

Comments
 (0)