Skip to content
Merged
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: 2 additions & 1 deletion tencentcloud/resource_tc_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,8 @@ func resourceTencentCloudInstanceRead(d *schema.ResourceData, meta interface{})
}
if instance == nil || *instance.InstanceState == CVM_STATUS_LAUNCH_FAILED {
d.SetId("")
return fmt.Errorf("instance %s not exist or launch failed", instanceId)
log.Printf("[CRITAL]instance %s not exist or launch failed", instanceId)
return nil
}

var cvmImages []string
Expand Down