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 b2d92a6ea6
commit 81d40f0a69

View File

@ -64,7 +64,7 @@ func sqladminOperationWait(config *Config, op *sqladmin.Operation, activity stri
}
state := w.Conf()
state.Timeout = 5 * time.Minute
state.Timeout = 10 * time.Minute
state.MinTimeout = 2 * time.Second
opRaw, err := state.WaitForState()
if err != nil {