Skip to content

Commit 690bdaf

Browse files
authored
Updated docs for dump_file_path in replica_configuration for sql to reflect the current API behavior. (#12150)
1 parent de83a69 commit 690bdaf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

mmv1/third_party/terraform/website/docs/r/sql_database_instance.html.markdown

+8-2
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)