Skip to content

Commit 4cd18a9

Browse files
author
mikatong
committed
fix launch failed prompt
1 parent ff283f2 commit 4cd18a9

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, this resource will not be stored to tfstate and will auto removed\n.", *instance.InstanceId))
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))
701701
}
702702
if instance != nil && *instance.InstanceState == CVM_STATUS_RUNNING {
703703
return nil

0 commit comments

Comments
 (0)