Output a connection URL for cloudsql.

This commit is contained in:
Tom Alexander
2021-07-18 21:47:20 -04:00
parent dfb5191868
commit b087d1eed9
2 changed files with 6 additions and 0 deletions

View File

@@ -92,6 +92,7 @@ resource "google_sql_user" "postgres" {
}
resource "google_sql_ssl_cert" "client_cert" {
project = var.project
common_name = "client-name"
instance = google_sql_database_instance.instance.name
}