Skip to content

Commit 934aaa1

Browse files
committed
Add private_address output for postgres module
1 parent 7ea1b37 commit 934aaa1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/postgresql/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ output "instance_address" {
2525
description = "The IPv4 addesses assigned for the master instance"
2626
}
2727

28+
output private_address {
29+
value = "${google_sql_database_instance.default.private_ip_address}"
30+
description = "The private IP address assigned for the master instance"
31+
}
32+
2833
output "instance_first_ip_address" {
2934
value = "${google_sql_database_instance.default.first_ip_address}"
3035
description = "The first IPv4 address of the addresses assigned."

0 commit comments

Comments
 (0)