Skip to content

Commit fd0a79e

Browse files
committed
mark computed
1 parent 0f80143 commit fd0a79e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

tencentcloud/services/crs/resource_tc_redis_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func ResourceTencentCloudRedisInstance() *schema.Resource {
4545
Type: schema.TypeString,
4646
ForceNew: true,
4747
Required: true,
48-
Description: "The available zone ID of an instance to be created, please refer to `tencentcloud_redis_zone_config.list`.",
48+
Description: "The available zone of an instance to be created, like `ap-beijing-7`, please refer to `tencentcloud_redis_zone_config.list`.",
4949
},
5050
"name": {
5151
Type: schema.TypeString,

tencentcloud/services/vpc/resource_tc_vpc_bandwidth_package_attachment.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ func ResourceTencentCloudVpcBandwidthPackageAttachment() *schema.Resource {
4848
"resource_type": {
4949
Type: schema.TypeString,
5050
Optional: true,
51+
Computed: true,
5152
ForceNew: true,
5253
Description: "Resource types, including `Address`, `LoadBalance`.",
5354
},

website/docs/r/redis_instance.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ resource "tencentcloud_redis_instance" "example" {
286286

287287
The following arguments are supported:
288288

289-
* `availability_zone` - (Required, String, ForceNew) The available zone ID of an instance to be created, please refer to `tencentcloud_redis_zone_config.list`.
289+
* `availability_zone` - (Required, String, ForceNew) The available zone of an instance to be created, like `ap-beijing-7`, please refer to `tencentcloud_redis_zone_config.list`.
290290
* `mem_size` - (Required, Int) 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.
291291
* `auto_renew_flag` - (Optional, Int, ForceNew) Auto-renew flag. 0 - default state (manual renewal); 1 - automatic renewal; 2 - explicit no automatic renewal.
292292
* `charge_type` - (Optional, String, ForceNew) The charge type of instance. Valid values: `PREPAID` and `POSTPAID`. Default value is `POSTPAID`. Note: TencentCloud International only supports `POSTPAID`. Caution that update operation on this field will delete old instances and create new with new charge type.

0 commit comments

Comments
 (0)