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
This commit is contained in:
Dana Hoffman
2017-05-22 13:44:25 -07:00
committed by GitHub
parent 56f89e20d7
commit 3df593315f
3 changed files with 74 additions and 49 deletions

View File

@@ -163,6 +163,11 @@ to work, cannot be updated, and supports:
* `dump_file_path` - (Optional) Path to a SQL file in GCS from which slave
instances are created. Format is `gs://bucket/filename`.
* `failover_target` - (Optional) Specifies if the replica is the failover target.
If the field is set to true the replica will be designated as a failover replica.
If the master instance fails, the replica instance will be promoted as
the new master instance.
* `master_heartbeat_period` - (Optional) Time in ms between replication
heartbeats.