Skip to content

Commit

Permalink
Fix DBaaS documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Goryev authored and TruePack committed Feb 28, 2024
1 parent d4ecc6a commit caced45
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion website/docs/r/dbaas_kafka_datastore_v1.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "selectel_dbaas_kafka_datastore_v1" "datastore_1" {

* `type_id` - (Required) Unique identifier of the datastore type. Changing this creates a new datastore. Retrieved from the [selectel_dbaas_datastore_type_v1](https://registry.terraform.io/providers/selectel/selectel/latest/docs/data-sources/dbaas_datastore_type_v1) data source.

* `node_count` - (Required) Number of replicas in the datastore. The only available value is 1. Learn more about [Replication](https://docs.selectel.ru/cloud/managed-databases/about/about-managed-databases/#отказоустойчивость-и-репликация).
* `node_count` - (Required) Number of nodes in the datastore. The only available value is 1. Learn more about [Replication](https://docs.selectel.ru/cloud/managed-databases/about/about-managed-databases/#отказоустойчивость-и-репликация).

* `flavor_id` - (Optional) Unique identifier of the flavor for the datastore. Can be skipped when `flavor` is set. You can retrieve information about available flavors with the [selectel_dbaas_flavor_v1](https://registry.terraform.io/providers/selectel/selectel/latest/docs/data-sources/dbaas_flavor_v1) data source.

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dbaas_mysql_datastore_v1.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "selectel_dbaas_mysql_datastore_v1" "datastore_1" {

* `type_id` - (Required) Unique identifier of the datastore type. Changing this creates a new datastore. Retrieved from the [selectel_dbaas_datastore_type_v1](https://registry.terraform.io/providers/selectel/selectel/latest/docs/data-sources/dbaas_datastore_type_v1) data source.

* `node_count` - (Required) Number of replicas in the datastore. Available values are `1` and `2`. Learn more about [Replication](https://docs.selectel.ru/cloud/managed-databases/about/about-managed-databases/#отказоустойчивость-и-репликация).
* `node_count` - (Required) Number of nodes in the datastore. The available range for MySQL semi-sync is from 1 to 3. Available values for MySQL sync are `1` and `3`. Learn more about [Replication](https://docs.selectel.ru/cloud/managed-databases/about/about-managed-databases/#отказоустойчивость-и-репликация).

* `flavor_id` - (Optional) Unique identifier of the flavor for the datastore. Can be skipped when `flavor` is set. You can retrieve information about available flavors with the [selectel_dbaas_flavor_v1](https://registry.terraform.io/providers/selectel/selectel/latest/docs/data-sources/dbaas_flavor_v1) data source.

Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/dbaas_postgresql_datastore_v1.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ resource "selectel_dbaas_postgresql_datastore_v1" "datastore_1" {

* `type_id` - (Required) Unique identifier of the datastore type. Changing this creates a new datastore. Retrieved from the [selectel_dbaas_datastore_type_v1](https://registry.terraform.io/providers/selectel/selectel/latest/docs/data-sources/dbaas_datastore_type_v1) data source.

* `node_count` - (Required) Number of replicas in the datastore. The available range is from 1 to 6. Learn more about [Replication](https://docs.selectel.ru/cloud/managed-databases/about/about-managed-databases/#отказоустойчивость-и-репликация).
* `node_count` - (Required) Number of nodes in the datastore. The available range is from 1 to 6. Learn more about [Replication](https://docs.selectel.ru/cloud/managed-databases/about/about-managed-databases/#отказоустойчивость-и-репликация).

* `flavor_id` - (Optional) Unique identifier of the flavor for the datastore. Can be skipped when `flavor` is set. You can retrieve information about available flavors with the [selectel_dbaas_flavor_v1](https://registry.terraform.io/providers/selectel/selectel/latest/docs/data-sources/dbaas_flavor_v1) data source.

Expand Down Expand Up @@ -110,7 +110,7 @@ export SEL_PROJECT_ID=<selectel_project_id>
export SEL_REGION=<selectel_pool>
terraform import selectel_dbaas_mysql_datastore_v1.datastore_1 <datastore_id>
```

where:

* `<account_id>` — Selectel account ID. The account ID is in the top right corner of the [Control panel](https://my.selectel.ru/). Learn more about [Registration](https://docs.selectel.ru/control-panel-actions/account/registration/).
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dbaas_redis_datastore_v1.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resource "selectel_dbaas_redis_datastore_v1" "datastore_1" {

* `type_id` - (Required) Unique identifier of the datastore type. Changing this creates a new datastore. Retrieved from the [selectel_dbaas_datastore_type_v1](https://registry.terraform.io/providers/selectel/selectel/latest/docs/data-sources/dbaas_datastore_type_v1) data source.

* `node_count` - (Required) Number of replicas in the datastore. Available values are `1` and `2`. Learn more about [Replication](https://docs.selectel.ru/cloud/managed-databases/about/about-managed-databases/#отказоустойчивость-и-репликация).
* `node_count` - (Required) Number of nodes in the datastore. The available range is from 1 to 3. Learn more about [Replication](https://docs.selectel.ru/cloud/managed-databases/about/about-managed-databases/#отказоустойчивость-и-репликация).

* `flavor_id` - (Required) Unique identifier of the flavor for the datastore. Retrieved from the [selectel_dbaas_flavor_v1](https://registry.terraform.io/providers/selectel/selectel/latest/docs/data-sources/dbaas_flavor_v1) data source.

Expand Down

0 comments on commit caced45

Please sign in to comment.