Skip to content

Commit a17f818

Browse files
committed
Added db_hostname and db_port outputs.
1 parent a32324b commit a17f818

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 0.13.9 (May 29, 2025)
2+
* Added `db_hostname` and `db_port` outputs.
3+
14
# 0.13.8 (Apr 17, 2025)
25
* Eliminated problematic special characters from password generation.
36

outputs.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ output "db_master_secret_name" {
1818
description = "string ||| The name of the secret in AWS Secrets Manager containing the password"
1919
}
2020

21+
output "db_hostname" {
22+
value = aws_db_instance.this.address
23+
description = "string ||| The hostname of the postgres instance."
24+
}
25+
26+
output "db_port" {
27+
value = aws_db_instance.this.port
28+
description = "number ||| The port of the postgres instance."
29+
}
30+
2131
output "db_endpoint" {
2232
value = aws_db_instance.this.endpoint
2333
description = "string ||| The endpoint URL to access the Postgres instance."

0 commit comments

Comments
 (0)