Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/3613.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
datasource/tencentcloud_instances: modify the length of the instance name to 128
```
2 changes: 1 addition & 1 deletion tencentcloud/services/cvm/data_source_tc_instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func DataSourceTencentCloudInstances() *schema.Resource {
"instance_name": {
Type: schema.TypeString,
Optional: true,
ValidateFunc: tccommon.ValidateStringLengthInRange(1, 30),
ValidateFunc: tccommon.ValidateStringLengthInRange(1, 128),
Description: "Name of the instances to be queried.",
},
"availability_zone": {
Expand Down
2 changes: 1 addition & 1 deletion tencentcloud/services/cvm/data_source_tc_instances_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func DataSourceTencentCloudInstancesSet() *schema.Resource {
"instance_name": {
Type: schema.TypeString,
Optional: true,
ValidateFunc: tccommon.ValidateStringLengthInRange(1, 30),
ValidateFunc: tccommon.ValidateStringLengthInRange(1, 128),
Description: "Name of the instances to be queried.",
},
"availability_zone": {
Expand Down
Loading