google_sql_database

Use this data source to get information about a database in a Cloud SQL instance.

Example Usage

data "google_sql_database" "qa" {
  name = "test-sql-database"
  instance = google_sql_database_instance.main.name
}

Argument Reference

The following arguments are supported:

Attributes Reference

See google_sql_database resource for details of all the available attributes.