provider/google Support MySQL 5.7 instances (#9673)

* provider/google Document MySQL versions for second generation instances

Google Cloud SQL has first-gen and second-gen instances with different
supported versions of MySQL.

* provider/google Increase SQL Admin operation timeout to 10 minutes

Creating SQL instances for MySQL 5.7 can take over 7 minutes,
so the timeout needs to be increased to allow the
google_sql_database_instance resource to successfully create.
This commit is contained in:
Dan Wendorf 2016-10-28 05:41:03 -07:00 committed by Paul Stack
parent cad67fe2ea
commit ad6d146203

View File

@ -38,7 +38,10 @@ The following arguments are supported:
- - - - - -
* `database_version` - (Optional, Default: `MYSQL_5_6`) The MySQL version to * `database_version` - (Optional, Default: `MYSQL_5_6`) The MySQL version to
use. Can be either `MYSQL_5_5` or `MYSQL_5_6`. use. Can be either `MYSQL_5_6` or `MYSQL_5_7` for second-generation
instances, or `MYSQL_5_5` or `MYSQL_5_6` for first-generation instances.
See Google's [Second Generation Capabilities](https://cloud.google.com/sql/docs/1st-2nd-gen-differences)
for more information.
* `name` - (Optional, Computed) The name of the instance. If the name is left * `name` - (Optional, Computed) The name of the instance. If the name is left
blank, Terraform will randomly generate one when the instance is first blank, Terraform will randomly generate one when the instance is first