1
0
mirror of synced 2025-12-29 09:00:13 -05:00

Naming changes based on PR review.

This commit is contained in:
Petri Autero
2019-02-05 19:28:08 +02:00
parent 0b6dc4d46e
commit 47beb8510a
2 changed files with 8 additions and 6 deletions

View File

@@ -8,9 +8,9 @@ output "public_ip" {
value = "${module.mysql.public_ip}"
}
output "instance_self_link" {
output "instance" {
description = "Self link to the master instance"
value = "${module.mysql.instance_self_link}"
value = "${module.mysql.instance}"
}
output "db_name" {
@@ -22,8 +22,8 @@ output "proxy_connection" {
value = "${module.mysql.proxy_connection}"
}
output "db_self_link" {
output "db" {
description = "Self link to the default database"
value = "${module.mysql.db_self_link}"
value = "${module.mysql.db}"
}

View File

@@ -8,7 +8,7 @@ output "public_ip" {
value = "${var.publicly_accessible ? google_sql_database_instance.master.ip_address.0.ip_address : ""}"
}
output "instance_self_link" {
output "instance" {
description = "Self link to the master instance"
value = "${google_sql_database_instance.master.self_link}"
}
@@ -18,11 +18,13 @@ output "db_name" {
value = "${google_sql_database.default.name}"
}
output "proxy_connection" {
description = "Instance path for connecting with Cloud SQL Proxy. Read more at https://cloud.google.com/sql/docs/mysql/sql-proxy"
value = "${var.project}:${var.region}:${google_sql_database_instance.master.name}"
}
output "db_self_link" {
output "db" {
description = "Self link to the default database"
value = "${google_sql_database.default.self_link}"
}