Skip to content

Commit 1bf7ae8

Browse files
Fix markdown lists in sql_instance_switchover.html.markdown (#14816) (#23956)
[upstream:94a80ec4c7d47740fce5bb50518e65d8482ff161] Signed-off-by: Modular Magician <[email protected]>
1 parent b78e7fb commit 1bf7ae8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

website/docs/guides/sql_instance_switchover.html.markdown

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ replica_configuration {
4646
}
4747
```
4848

49-
2. Invoke switchover on the replica \
50-
a. Change `instance_type` from `READ_REPLICA_INSTANCE` to `CLOUD_SQL_INSTANCE` \
51-
b. Remove `master_instance_name` \
52-
c. Remove `replica_configuration` \
53-
d. Add current primary's name to the replica's `replica_names` list
49+
2. Invoke switchover on the replica
50+
* Change `instance_type` from `READ_REPLICA_INSTANCE` to `CLOUD_SQL_INSTANCE`
51+
* Remove `master_instance_name`
52+
* Remove `replica_configuration`
53+
* Add current primary's name to the replica's `replica_names` list
5454

5555
```diff
5656
resource "google_sql_database_instance" "original-replica" {
@@ -68,13 +68,13 @@ resource "google_sql_database_instance" "original-replica" {
6868
}
6969
```
7070

71-
3. Update the old primary and run `terraform plan` \
72-
a. Change `instance_type` from `CLOUD_SQL_INSTANCE` to `READ_REPLICA_INSTANCE` \
73-
b. Set `master_instance_name` to the new primary (original replica) \
74-
c. Set `replica_configuration` and indicate this is a `cascadable-replica` \
75-
d. Remove old replica from `replica_names` \
76-
~> **NOTE**: Do **not** delete the replica_names field, even if it has no replicas remaining. Set replica_names = [ ] to indicate it having no replicas. \
77-
e. Run `terraform plan` and verify that everything is done in-place (or data will be lost)
71+
3. Update the old primary and run `terraform plan`
72+
* Change `instance_type` from `CLOUD_SQL_INSTANCE` to `READ_REPLICA_INSTANCE`
73+
* Set `master_instance_name` to the new primary (original replica)
74+
* Set `replica_configuration` and indicate this is a `cascadable-replica`
75+
* Remove old replica from `replica_names`
76+
~> **NOTE**: Do **not** delete the replica_names field, even if it has no replicas remaining. Set replica_names = [ ] to indicate it having no replicas.
77+
* Run `terraform plan` and verify that everything is done in-place (or data will be lost)
7878

7979
```diff
8080
resource "google_sql_database_instance" "original-primary" {

0 commit comments

Comments
 (0)