Skip to content

Commit 8a40d87

Browse files
authored
Merge branch 'main' into NoamSternRedis-patch-5
2 parents 1eae5ac + c17e95d commit 8a40d87

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/resources/rediscloud_active_active_subscription.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

docs/resources/rediscloud_active_active_subscription_database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ resource "rediscloud_active_active_subscription" "subscription-resource" {
2424
cloud_provider = "AWS"
2525
2626
creation_plan {
27-
memory_limit_in_gb = 1
27+
dataset_size_in_gb = 1
2828
quantity = 1
2929
region {
3030
region = "us-east-1"
@@ -44,7 +44,7 @@ resource "rediscloud_active_active_subscription" "subscription-resource" {
4444
resource "rediscloud_active_active_subscription_database" "database-resource" {
4545
subscription_id = rediscloud_active_active_subscription.subscription-resource.id
4646
name = "database-name"
47-
memory_limit_in_gb = 1
47+
dataset_size_in_gb = 1
4848
global_data_persistence = "aof-every-1-second"
4949
global_password = "some-random-pass-2"
5050
global_source_ips = ["192.168.0.0/16"]

0 commit comments

Comments
 (0)