Skip to content

Commit f080cf9

Browse files
authored
Merge branch 'main' into NoamSternRedis-patch-6
2 parents 09eed94 + 1e36f36 commit f080cf9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/resources/rediscloud_active_active_subscription.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ resource "rediscloud_active_active_subscription" "subscription-resource" {
3232
cloud_provider = "AWS"
3333
3434
creation_plan {
35-
memory_limit_in_gb = 1
35+
dataset_size_in_gb = 1
3636
quantity = 1
3737
modules = ["RedisJSON"]
3838
region {
@@ -65,7 +65,8 @@ The following arguments are supported:
6565

6666
The `creation_plan` block supports:
6767

68-
* `memory_limit_in_gb` - (Required) Maximum memory usage that will be used for your largest planned database, including replication and other overhead
68+
* `memory_limit_in_gb` - (Optional - **Required if `dataset_size_in_gb` is unset**) Maximum memory usage for this specific database, including replication and other overhead **Deprecated in favor of `dataset_size_in_gb` - not possible to import databases with this attribute set**
69+
* `dataset_size_in_gb` - (Optional - **Required if `memory_limit_in_gb` is unset**) The maximum amount of data in the dataset for this specific database is in GB
6970
* `quantity` - (Required) The planned number of databases in the subscription.
7071
* `modules` - (Optional) A list of modules to be enabled on all deployments of this database. Either: `RedisJSON` or `RediSearch`.
7172
* `region` - (Required) Deployment region block, documented below
@@ -85,7 +86,7 @@ The `maintenance_windows` object has these attributes:
8586
The `window` object has these attributes:
8687

8788
* `start_hour` - What hour in the day (0-23) the window opens
88-
* `duration_in_hours` - How long the window is open
89+
* `duration_in_hours` - How long the window is open (4-24 hours)
8990
* `days` - A list of weekdays on which the window is open ('Monday', 'Tuesday' etc)
9091

9192
~> **Note:** If changes are made to attributes in the subscription which require the subscription to be recreated (such as `cloud_provider`), the creation_plan will need to be defined in order to change these attributes. This is because the creation_plan is always required when a subscription is created.

0 commit comments

Comments
 (0)