Naming changes based on PR review.
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
|
||||
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user