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
Description: "Indicates whether the redis instance support no-auth access. NOTE: Only available in private cloud environment.",
167
167
},
168
+
"replicas_read_only": {
169
+
Type: schema.TypeBool,
170
+
Optional: true,
171
+
ForceNew: true,
172
+
Default: false,
173
+
Description: "Whether copy read-only is supported, Redis 2.8 Standard Edition and CKV Standard Edition do not support replica read-only, turn on replica read-only, the instance will automatically read and write separate, write requests are routed to the primary node, read requests are routed to the replica node, if you need to open replica read-only, the recommended number of replicas >=2.",
174
+
},
168
175
"mem_size": {
169
176
Type: schema.TypeInt,
170
177
Required: true,
@@ -291,6 +298,7 @@ func resourceTencentCloudRedisInstanceCreate(d *schema.ResourceData, meta interf
Copy file name to clipboardExpand all lines: website/docs/r/redis_instance.html.markdown
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,7 @@ The following arguments are supported:
81
81
*`redis_replicas_num` - (Optional, ForceNew) The number of instance copies. This is not required for standalone and master slave versions.
82
82
*`redis_shard_num` - (Optional, ForceNew) The number of instance shard. This is not required for standalone and master slave versions.
83
83
*`replica_zone_ids` - (Optional, ForceNew) ID of replica nodes available zone. This is not required for standalone and master slave versions.
84
+
*`replicas_read_only` - (Optional, ForceNew) Whether copy read-only is supported, Redis 2.8 Standard Edition and CKV Standard Edition do not support replica read-only, turn on replica read-only, the instance will automatically read and write separate, write requests are routed to the primary node, read requests are routed to the replica node, if you need to open replica read-only, the recommended number of replicas >=2.
84
85
*`security_groups` - (Optional, ForceNew) ID of security group. If both vpc_id and subnet_id are not set, this argument should not be set either.
85
86
*`subnet_id` - (Optional, ForceNew) Specifies which subnet the instance should belong to.
0 commit comments