Skip to content

Commit b65d2fd

Browse files
Merge branch 'main' into feat/OPCR-19-disable-default-user-aa
2 parents 350774b + 64009d2 commit b65d2fd

5 files changed

+5
-18
lines changed

docs/resources/rediscloud_active_active_subscription.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ resource "rediscloud_active_active_subscription" "subscription-resource" {
3636
creation_plan {
3737
dataset_size_in_gb = 1
3838
quantity = 1
39-
modules = ["RedisJSON"]
4039
region {
4140
region = "us-east-1"
4241
networking_deployment_cidr = "192.168.0.0/24"
@@ -61,12 +60,12 @@ The following arguments are supported:
6160
* `payment_method` (Optional) The payment method for the requested subscription, (either `credit-card` or `marketplace`). If `credit-card` is specified, `payment_method_id` must be defined. Default: 'credit-card'. **(Changes to) this attribute are ignored after creation.**
6261
* `payment_method_id` - (Optional) A valid payment method pre-defined in the current account. This value is __Optional__ for AWS/GCP Marketplace accounts, but __Required__ for all other account types
6362
* `cloud_provider` - (Optional) The cloud provider to use with the subscription, (either `AWS` or `GCP`). Default: ‘AWS’. **Modifying this attribute will force creation of a new resource.**
64-
* `redis_version` - (Optional) The Redis version of the databases in the subscription. If omitted, the Redis version will be the default. **Modifying this attribute will force creation of a new resource.**
63+
* `redis_version` - (Optional) The Redis version of the databases in the subscription. If omitted, the Redis version will be the default. **Deprecated: This attribute is deprecated on the subscription level. Please specify `redis_version` on databases directly instead.**
6564
* `creation_plan` - (Required) A creation plan object, documented below. Ignored after creation.
6665
* `maintenance_windows` - (Optional) The subscription's maintenance window specification, documented below.
6766
* `customer_managed_key_enabled` - (Optional) Whether to enable the CMK flow.
6867
* `customer_managed_key_deletion_grace_period` - (Optional) The grace period for deleting the subscription. If not set, will default to immediate deletion grace period.
69-
* `customer_managed_key` - (Optional) The customer managed keys (CMK) to use for this subscription. If is active-active subscription, must set a key for each region.
68+
* `customer_managed_key` - (Optional) The customer managed keys (CMK) to use for this subscription. In an active-active subscription, you must set a key for each region.
7069

7170
The `creation_plan` block supports:
7271

docs/resources/rediscloud_active_active_subscription_database.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ resource "rediscloud_active_active_subscription_database" "database-resource" {
5353
value = 1
5454
}
5555
56-
global_modules = ["RedisJSON"]
57-
5856
override_region {
5957
name = "us-east-2"
6058
override_global_source_ips = ["192.10.0.0/16"]
@@ -90,6 +88,7 @@ output "us-east-2-private-endpoints" {
9088
The following arguments are supported:
9189
* `subscription_id`: (Required) The ID of the Active-Active subscription to create the database in. **Modifying this attribute will force creation of a new resource.**
9290
* `name` - (Required) A meaningful name to identify the database. **Modifying this attribute will force creation of a new resource.**
91+
* `redis_version` - (Optional) The Redis version of the database. If omitted, the Redis version will be the default. **Modifying this attribute will force creation of a new resource.**
9392
* `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**
9493
* `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
9594
* `support_oss_cluster_api` - (Optional) Support Redis open-source (OSS) Cluster API. Default: ‘false’

docs/resources/rediscloud_active_active_subscription_regions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ resource "rediscloud_active_active_subscription_regions" "regions-resource" {
3030
region {
3131
region = "us-east-2"
3232
networking_deployment_cidr = "10.0.1.0/24"
33-
local_resp_version = "resp2"
3433
database {
3534
database_id = rediscloud_active_active_subscription_database.database-resource.db_id
3635
database_name = rediscloud_active_active_subscription_database.database-resource.name

docs/resources/rediscloud_subscription.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ resource "rediscloud_subscription" "subscription-resource" {
3333
name = "subscription-name"
3434
payment_method = "credit-card"
3535
payment_method_id = data.rediscloud_payment_method.card.id
36-
memory_storage = "ram"
3736
3837
cloud_provider {
3938
provider = data.rediscloud_cloud_account.account.provider_type
@@ -53,7 +52,6 @@ resource "rediscloud_subscription" "subscription-resource" {
5352
replication = true
5453
throughput_measurement_by = "operations-per-second"
5554
throughput_measurement_value = 20000
56-
modules = ["RedisJSON"]
5755
}
5856
5957
maintenance_windows {
@@ -75,14 +73,14 @@ The following arguments are supported:
7573
* `payment_method` (Optional) The payment method for the requested subscription, (either `credit-card` or `marketplace`). If `credit-card` is specified, `payment_method_id` must be defined. Default: 'credit-card'. **(Changes to) this attribute are ignored after creation.**
7674
* `payment_method_id` - (Optional) A valid payment method pre-defined in the current account. Only __Required__ when `payment_method` is `credit-card`.
7775
* `memory_storage` - (Optional) Memory storage preference: either ‘ram’ or a combination of ‘ram-and-flash’. Default: ‘ram’. **Modifying this attribute will force creation of a new resource.**
78-
* `redis_version` - (Optional) The Redis version of the databases in the subscription. If omitted, the Redis version will be the default. **Deprecated: This attribute is deprecated on pro subscriptions. Please specify `redis_version` on databases directly instead.**
76+
* `redis_version` - (Optional) The Redis version of the databases in the subscription. If omitted, the Redis version will be the default. **Deprecated: This attribute is deprecated on the subscriptions level. Please specify `redis_version` on databases directly instead.**
7977
* `allowlist` - (Optional) An allowlist object, documented below
8078
* `cloud_provider` - (Required) A cloud provider object, documented below. **Modifying this attribute will force creation of a new resource.**
8179
* `creation_plan` - (Required) A creation plan object, documented below.
8280
* `maintenance_windows` - (Optional) The subscription's maintenance window specification, documented below.
8381
* `customer_managed_key_enabled` - (Optional) Whether to enable the customer managed encryption key flow.
8482
* `customer_managed_key_deletion_grace_period` - (Optional) The grace period for deleting the subscription. If not set, will default to immediate deletion grace period.
85-
* `customer_managed_key` - (Optional) The customer managed keys (CMK) to use for this subscription. If is active-active subscription, must set a key for each region.
83+
* `customer_managed_key` - (Optional) The customer managed keys (CMK) to use for this subscription.
8684

8785
The `allowlist` block supports:
8886

docs/resources/rediscloud_subscription_database.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ resource "rediscloud_subscription" "subscription-resource" {
2323
name = "subscription-name"
2424
payment_method = "credit-card"
2525
payment_method_id = data.rediscloud_payment_method.card.id
26-
memory_storage = "ram"
2726
2827
cloud_provider {
2928
provider = data.rediscloud_cloud_account.account.provider_type
@@ -43,7 +42,6 @@ resource "rediscloud_subscription" "subscription-resource" {
4342
replication=true
4443
throughput_measurement_by = "operations-per-second"
4544
throughput_measurement_value = 20000
46-
modules = ["RedisJSON"]
4745
}
4846
}
4947
@@ -56,12 +54,6 @@ resource "rediscloud_subscription_database" "database-resource" {
5654
throughput_measurement_by = "operations-per-second"
5755
throughput_measurement_value = 20000
5856
replication = true
59-
60-
modules = [
61-
{
62-
name = "RedisJSON"
63-
}
64-
]
6557
6658
alert {
6759
name = "dataset-size"

0 commit comments

Comments
 (0)