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
PrivateLink resource for Active Active Subscription in the Redis Cloud Terraform provider.
5
+
PrivateLink resource for an Active-Active Subscription in the Redis Cloud Terraform provider.
6
6
---
7
7
8
8
# Resource: rediscloud_active_active_private_link
9
9
10
-
Manages a PrivateLink to a Active Active Subscription in your Redis Enterprise Cloud Account.
10
+
Manages a PrivateLink to an Active-Active Subscription in your Redis Enterprise Cloud Account.
11
+
12
+
Note the forced dependency on the Active-Active database. Currently, you require a database to be attached to your subscription in order for a `region_id` to be assigned.
11
13
12
14
## Example Usage
13
15
@@ -30,41 +32,48 @@ data "rediscloud_cloud_account" "account" {
*`subscription_id` - (Required) The ID of the ActiveActive Subscription to link to. **Modifying this attribute will force creation of a new resource.**
86
-
*`region_id` - (Required)
94
+
*`subscription_id` - (Required) The ID of the Active-Active Subscription to link to. **Modifying this attribute will force creation of a new resource.**
95
+
*`region_id` - (Required) The region ID within the Active-Active subscription that the PrivateLink is attached to. **Modifying this attribute will force creation of a new resource.**
87
96
*`share_name` - (Required) The share name of the PrivateLink.
88
97
*`principal` - (Required) The principal(s) attached to the PrivateLink.
89
98
@@ -94,14 +103,27 @@ The `principal` block supports:
94
103
95
104
## Attribute Reference
96
105
97
-
*`resource_configuration_id` - Configuration I
98
-
*`resource_configuration_arn`
99
-
*`share_arn`
100
-
*`connections` (block)
101
-
*`databases` (block)
106
+
*`resource_configuration_id` - ID of the resource configuration to attach to this PrivateLink
107
+
*`resource_configuration_arn` - ARN of the resource configuration to attach to this PrivateLink
108
+
*`share_arn` - Share ARN of this PrivateLink.
109
+
*`connections` - List of connections associated with the PrivateLink.
110
+
*`databases` - List of databases associated with the PrivateLink.
111
+
112
+
The `connections` object has these attributes:
113
+
114
+
*`association_id` - Association ID of the PrivateLink connection.
115
+
*`connection_id` - Connection ID of the PrivateLink connection.
116
+
*`connection_type` - Type of the PrivateLink connection.
117
+
*`owner_id` - Owner ID of the connection.
118
+
*`association_date` - Date the connection was associated.
119
+
120
+
The `databases` object has these attributes:
121
+
*`database_id` - ID of the database.
122
+
*`port` - The port which the database is available on.
123
+
*`resource_link_endpoint` - The resource link endpoint for the database.
102
124
103
125
## Import
104
-
`rediscloud_active_active_private_link` can be imported using the ID of the subscription and the region id, e.g.
126
+
`rediscloud_active_active_private_link` can be imported using the ID of the subscription and the region id in the format SUB_ID/REGION_ID, e.g.
0 commit comments