Commit Graph

12 Commits

Author SHA1 Message Date
Dana Hoffman
3808f5b1d5 provider/google: stop trying to set mysqlReplicaConfiguration on read (#14373) 2017-05-22 14:04:28 -07:00
Dana Hoffman
0a0d8eb076 provider/google: add failover parameter to sql database instance (#14336)
* provider/google: add failover parameter to sql database instance

* provider/google: update sql database instance docs
2017-05-22 13:44:25 -07:00
Mike Fowler
b1b6993d23 provider/google-cloud: Add maintenance window (#12042)
* provider/google-cloud: Add maintenance window

Allows specification of the `maintenance_window` within the `settings`
block. This controls when Google will restart a database in order to
apply updates. It is also possible to select an `update_track` to
relatively control updating between instances in the same project.

* Adjustments as suggested in code review.
2017-02-18 01:33:47 +02:00
Dana Hoffman
65fd649caa Merge pull request #11590 from evandbrown/google-cloud-sql-pw
providers/google: No default root user for SQL
2017-02-01 15:43:23 -08:00
Mike Fowler
917aa65405 provider/google-cloud: Add second generation disk specification options (#11571)
* Add second generation disk specification options.

* Adjust test check to match resource read behaviour.
2017-02-01 16:20:31 +00:00
Evan Brown
a6c1f94419 providers/google: No default root user for SQL
Cloud SQL Gen 2 instances come with a default 'root'@'%' user on
creation. This change automatically deletes that user after creation. A
Terraform user must use the google_sql_user to create a user with
appropriate host and password.
2017-01-31 22:21:11 -08:00
Mike Fowler
9851a7eaa6 Fix master_instance_name to prevent slave rebuilds 2017-01-27 21:06:46 +00:00
Paul Hinze
ee71068018 provider/google: add test case for GH-4222
Reproduces a non-empty plan that is now fixed after the bugfix for that
issue landed.
2016-08-18 15:08:50 -04:00
clint shryock
4e3e03192e Switch to acctest.RandInt for acceptance tests 2016-02-04 11:20:22 -06:00
Lars Wander
39ae38c627 provider/google: Clarify SQL database name cannot be reused 2016-01-08 11:54:55 -05:00
Paul Hinze
8477b4c2b7 provider/google: Fix collisions in SQL instance acctests 2016-01-04 18:04:55 -06:00
Lars Wander
c3e204a054 provider/google: SQL instance & database tests & documentation 2015-10-30 15:35:29 -04:00