Skip to content

Commit 0cd07c0

Browse files
committed
add uuid
1 parent 4d4f46c commit 0cd07c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tencentcloud/services/cvm/data_source_tc_instances.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,11 @@ func DataSourceTencentCloudInstances() *schema.Resource {
253253
Computed: true,
254254
Description: "CAM role name authorized to access.",
255255
},
256+
"uuid": {
257+
Type: schema.TypeString,
258+
Computed: true,
259+
Description: "Globally unique ID of the instance.",
260+
},
256261
},
257262
},
258263
},
@@ -354,6 +359,7 @@ func dataSourceTencentCloudInstancesRead(d *schema.ResourceData, meta interface{
354359
"expired_time": instance.ExpiredTime,
355360
"instance_charge_type_prepaid_renew_flag": instance.RenewFlag,
356361
"cam_role_name": instance.CamRoleName,
362+
"uuid": instance.Uuid,
357363
}
358364

359365
if len(instance.PublicIpAddresses) > 0 {

0 commit comments

Comments
 (0)