Skip to content

Commit

Permalink
replaced slave with replica (GoogleCloudPlatform#4452)
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmedia authored Feb 2, 2021
1 parent 0b23f72 commit 5cb9550
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -470,14 +470,14 @@ settings.backup_configuration.binary_log_enabled are both set to true.`,
Optional: true,
ForceNew: true,
AtLeastOneOf: replicaConfigurationKeys,
Description: `PEM representation of the slave's x509 certificate.`,
Description: `PEM representation of the replica's x509 certificate.`,
},
"client_key": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
AtLeastOneOf: replicaConfigurationKeys,
Description: `PEM representation of the slave's private key. The corresponding public key in encoded in the client_certificate.`,
Description: `PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate.`,
},
"connect_retry_interval": {
Type: schema.TypeInt,
Expand All @@ -491,7 +491,7 @@ settings.backup_configuration.binary_log_enabled are both set to true.`,
Optional: true,
ForceNew: true,
AtLeastOneOf: replicaConfigurationKeys,
Description: `Path to a SQL file in Google Cloud Storage from which slave instances are created. Format is gs://bucket/filename.`,
Description: `Path to a SQL file in Google Cloud Storage from which replica instances are created. Format is gs://bucket/filename.`,
},
"failover_target": {
Type: schema.TypeBool,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ The `replica_configuration` block contains:

* `ca_certificate` - PEM representation of the trusted CA's x509 certificate.

* `client_certificate` - PEM representation of the slave's x509 certificate.
* `client_certificate` - PEM representation of the replica's x509 certificate.

* `client_key` - PEM representation of the slave's private key.
* `client_key` - PEM representation of the replica's private key.

* `connect_retry_interval` - The number of seconds between connect retries.

* `dump_file_path` - Path to a SQL file in GCS from which slave instances are created.
* `dump_file_path` - Path to a SQL file in GCS from which replica instances are created.

* `failover_target` - Specifies if the replica is the failover target.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,16 +349,16 @@ to work, cannot be updated, and supports:
* `ca_certificate` - (Optional) PEM representation of the trusted CA's x509
certificate.

* `client_certificate` - (Optional) PEM representation of the slave's x509
* `client_certificate` - (Optional) PEM representation of the replica's x509
certificate.

* `client_key` - (Optional) PEM representation of the slave's private key. The
* `client_key` - (Optional) PEM representation of the replica's private key. The
corresponding public key in encoded in the `client_certificate`.

* `connect_retry_interval` - (Optional, Default: 60) The number of seconds
between connect retries.

* `dump_file_path` - (Optional) Path to a SQL file in GCS from which slave
* `dump_file_path` - (Optional) Path to a SQL file in GCS from which replica
instances are created. Format is `gs://bucket/filename`.

* `failover_target` - (Optional) Specifies if the replica is the failover target.
Expand Down

0 comments on commit 5cb9550

Please sign in to comment.