Merge pull request #11590 from evandbrown/google-cloud-sql-pw

providers/google: No default root user for SQL
This commit is contained in:
Dana Hoffman 2017-02-01 15:43:23 -08:00 committed by GitHub
commit 2ffc1a9f1f

View File

@ -10,6 +10,12 @@ description: |-
Creates a new Google SQL Database Instance. For more information, see the [official documentation](https://cloud.google.com/sql/), or the [JSON API](https://cloud.google.com/sql/docs/admin-api/v1beta4/instances).
~> **NOTE on `google_sql_database_instance`:** - Second-generation instances include a
default 'root'@'%' user with no password. This user will be deleted by Terraform on
instance creation. You should use a `google_sql_user` to define a customer user with
a restricted host and strong password.
## Example Usage
Example creating a SQL Database.