Skip to content

Commit 80a8c5d

Browse files
author
mikatong
committed
update
1 parent 7496ec5 commit 80a8c5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tencentcloud/services/cvm/resource_tc_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ func resourceTencentCloudInstanceCreate(d *schema.ResourceData, meta interface{}
697697
}
698698
if instance != nil && *instance.InstanceState == CVM_STATUS_LAUNCH_FAILED {
699699
//LatestOperationCodeMode
700-
return resource.NonRetryableError(fmt.Errorf("cvm instance %s launch failed. There are insufficient resources. Please try again later, or you can go to another available area and try to purchase.\n.", *instance.InstanceId))
700+
return resource.NonRetryableError(fmt.Errorf("cvm instance %s launch failed. Error msg: %s.\n", *instance.InstanceId, *instance.LatestOperationErrorMsg))
701701
}
702702
if instance != nil && *instance.InstanceState == CVM_STATUS_RUNNING {
703703
return nil

0 commit comments

Comments
 (0)