Skip to content

Commit 0c453bc

Browse files
Updated docs for dump_file_path in replica_configuration for sql to reflect the current API behavior. (#12150) (#20065)
[upstream:690bdaff8a8d5ddb88ab4c4ce2955c4699e90392] Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent 5f8e375 commit 0c453bc

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.changelog/12150.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```release-note:none
2+
```

website/docs/r/sql_database_instance.html.markdown

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,12 @@ The optional `settings.password_validation_policy` subblock for instances declar
449449
* `enable_password_policy` - Enables or disable the password validation policy.
450450

451451
The optional `replica_configuration` block must have `master_instance_name` set
452-
to work, cannot be updated, and supports:
452+
to work, cannot be updated and supports:
453+
454+
-> **Note:** `replica_configuration` field is not meant to be used if the master
455+
instance is a source representation instance. The configuration provided by this
456+
field can be set on the source representation instance directly. If this field
457+
is present when the master instance is a source representation instance, `dump_file_path` must be provided.
453458

454459
* `ca_certificate` - (Optional) PEM representation of the trusted CA's x509
455460
certificate.
@@ -464,7 +469,8 @@ to work, cannot be updated, and supports:
464469
between connect retries. MySQL's default is 60 seconds.
465470

466471
* `dump_file_path` - (Optional) Path to a SQL file in GCS from which replica
467-
instances are created. Format is `gs://bucket/filename`.
472+
instances are created. Format is `gs://bucket/filename`. Note, if the master
473+
instance is a source representation instance this field must be present.
468474

469475
* `failover_target` - (Optional) Specifies if the replica is the failover target.
470476
If the field is set to true the replica will be designated as a failover replica.

0 commit comments

Comments
 (0)