Skip to content

Commit cc59624

Browse files
tongyimingmikatong
and
mikatong
authoredApr 9, 2025··
update mem_size (#3284)
Co-authored-by: mikatong <mikatong@tencent.com>
1 parent 4995a8c commit cc59624

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
 

‎tencentcloud/services/crs/resource_tc_redis_instance.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,9 @@ func ResourceTencentCloudRedisInstance() *schema.Resource {
116116
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.",
117117
},
118118
"mem_size": {
119-
Type: schema.TypeInt,
120-
Required: true,
121-
ValidateFunc: tccommon.ValidateAllowedIntValue([]int{256, 512, 1024, 2048, 4096, 8192, 12288, 16384, 20480, 24576, 32768, 40960, 49152, 65536}),
122-
Description: "The memory volume of an available instance(in MB), please refer to `tencentcloud_redis_zone_config.list[zone].shard_memories`. When redis is standard type, it represents total memory size of the instance; when Redis is cluster type, it represents memory size of per sharding. `512MB` is supported only in master-slave instance.",
119+
Type: schema.TypeInt,
120+
Required: true,
121+
Description: "The memory volume of an available instance(in MB), please refer to `tencentcloud_redis_zone_config.list[zone].shard_memories`. When redis is standard type, it represents total memory size of the instance; when Redis is cluster type, it represents memory size of per sharding. `512MB` is supported only in master-slave instance.",
123122
},
124123
"vpc_id": {
125124
Type: schema.TypeString,

0 commit comments

Comments
 (0)
Please sign in to comment.