You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,18 +3,23 @@
3
3
All notable changes to this project will be documented in this file.
4
4
See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/)
5
5
6
+
# 2.1.6 (31st July 2025)
7
+
8
+
### Added
9
+
10
+
- Customer Managed Key support for active-active and pro subscriptions. Only supports redis internal GCP cloud subscriptions. CMKs are externally provided by a customer-supplied GCP account and are managed externally by the user.
6
11
7
12
# 2.1.5 (1st July 2025)
8
13
9
14
### Added
10
15
11
-
Feature: Support Marketplace as a payment method for Essentials subscription
12
-
Feature: Add TLS certificate to databases’ data sources
16
+
-Feature: Support Marketplace as a payment method for Essentials subscription
17
+
-Feature: Add TLS certificate to databases’ data sources
13
18
14
19
### Fixed:
15
20
16
-
Unexpected state `dynamic-endpoints-creation-pending'
17
-
Can not disable default user on essentials db
21
+
-Unexpected state `dynamic-endpoints-creation-pending'
Copy file name to clipboardExpand all lines: docs/resources/rediscloud_active_active_subscription.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ subscription, then the databases defined as separate resources will be attached
19
19
the subscription. The creation_plan block can ONLY be used for provisioning new
20
20
subscriptions, the block will be ignored if you make any further changes or try importing the resource (e.g. `terraform import` ...).
21
21
22
+
~> **Note:** The CMK (customer managed encryption key) fields require a specific flow which involves a multi step apply. Please refer to the relevant documents if using these fields.
23
+
22
24
## Example Usage
23
25
24
26
```hcl
@@ -62,6 +64,9 @@ The following arguments are supported:
62
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
65
*`creation_plan` - (Required) A creation plan object, documented below. Ignored after creation.
64
66
*`maintenance_windows` - (Optional) The subscription's maintenance window specification, documented below.
67
+
*`customer_managed_key_enabled` - (Optional) Whether to enable the CMK flow.
68
+
*`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.
65
70
66
71
The `creation_plan` block supports:
67
72
@@ -78,6 +83,10 @@ The creation_plan `region` block supports:
78
83
*`write_operations_per_second` - (Required) Throughput measurement for an active-active subscription
79
84
*`read_operations_per_second` - (Required) Throughput measurement for an active-active subscription
80
85
86
+
The `customer_managed_key` block supports:
87
+
*`resource_name` - Resource name of the customer managed key as defined by the cloud provider, e.g. projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY_NAME
88
+
*`region` - Name of the region for the customer managed key as defined by the cloud provider.
89
+
81
90
The `maintenance_windows` object has these attributes:
82
91
83
92
*`mode` - Either `automatic` (Redis specified) or `manual` (User specified)
@@ -93,6 +102,8 @@ The `window` object has these attributes:
93
102
94
103
## Attribute reference
95
104
105
+
*`customer_managed_key_redis_service_account` - Outputs the id of the service account associated with the subscription. Useful as part of the CMK flow.
106
+
96
107
*`pricing` - A list of pricing objects, documented below
Copy file name to clipboardExpand all lines: docs/resources/rediscloud_subscription.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ subscription, then the databases defined as separate resources will be attached
20
20
the subscription. The creation_plan block can ONLY be used for provisioning new
21
21
subscriptions, the block will be ignored if you make any further changes or try importing the resource (e.g. `terraform import` ...).
22
22
23
+
~> **Note:** The CMK (customer managed encryption key) fields require a specific flow which involves a multi step apply. Please refer to the relevant documents if using these fields.
24
+
23
25
## Example Usage
24
26
25
27
```hcl
@@ -80,6 +82,9 @@ The following arguments are supported:
80
82
*`cloud_provider` - (Required) A cloud provider object, documented below. **Modifying this attribute will force creation of a new resource.**
81
83
*`creation_plan` - (Required) A creation plan object, documented below.
82
84
*`maintenance_windows` - (Optional) The subscription's maintenance window specification, documented below.
85
+
*`customer_managed_key_enabled` - (Optional) Whether to enable the customer managed encryption key flow.
86
+
*`customer_managed_key_deletion_grace_period` - (Optional) The grace period for deleting the subscription. If not set, will default to immediate deletion grace period.
87
+
*`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
88
84
89
The `allowlist` block supports:
85
90
@@ -128,6 +133,9 @@ The cloud_provider `region` block supports:
128
133
~> **Note:** The preferred_availability_zones parameter is required for Terraform, but is optional within the Redis Enterprise Cloud UI.
129
134
This difference in behaviour is to guarantee that a plan after an apply does not generate differences. In AWS Redis internal cloud account, please set the zone IDs (for example: `["use-az2", "use-az3", "use-az5"]`).
130
135
136
+
The `customer_managed_key` block supports:
137
+
*`resource_name` - The resource name of the customer managed key as defined by the cloud provider, e.g. projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY_NAME
138
+
131
139
The `maintenance_windows` object has these attributes:
132
140
133
141
*`mode` - Either `automatic` (Redis specified) or `manual` (User specified)
@@ -149,6 +157,8 @@ The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/d
149
157
150
158
## Attribute reference
151
159
160
+
*`customer_managed_key_redis_service_account` - Outputs the id of the service account associated with the subscription. Useful as part of the CMK flow.
161
+
152
162
The `region` block has these attributes:
153
163
154
164
*`networks` - List of generated network configuration
0 commit comments