Skip to content

Commit fa37bbd

Browse files
authored
fix: update service_uri for postgresql and mysql (#705)
1 parent 1e68e00 commit fa37bbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/mysql/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ output "env_vars" {
157157

158158
output "apphub_service_uri" {
159159
value = {
160-
service_uri = "//cloudsql.googleapis.com/projects${element(split("/projects", google_sql_database_instance.default.self_link), 1)}"
160+
service_uri = "//sqladmin.googleapis.com/projects${element(split("/projects", google_sql_database_instance.default.self_link), 1)}"
161161
service_id = substr("${var.name}-${md5("${var.region}-${var.project_id}")}", 0, 63)
162162
location = var.region
163163
}

modules/postgresql/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ output "env_vars" {
155155

156156
output "apphub_service_uri" {
157157
value = {
158-
service_uri = "//cloudsql.googleapis.com/projects${element(split("/projects", google_sql_database_instance.default.self_link), 1)}"
158+
service_uri = "//sqladmin.googleapis.com/projects${element(split("/projects", google_sql_database_instance.default.self_link), 1)}"
159159
service_id = substr("${var.name}-${md5("${var.region}-${var.project_id}")}", 0, 63)
160160
location = var.region
161161
}

0 commit comments

Comments
 (0)