Skip to content

fix(cvm): [117892563]launch failed prompt #2695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 5, 2024

Conversation

tongyiming
Copy link
Collaborator

No description provided.

@tongyiming tongyiming changed the title fix(cvm):[117892563]launch failed prompt fix(cvm): [117892563]launch failed prompt Jun 26, 2024
@tongyiming tongyiming force-pushed the fix/cvm-launch-failed-prompt branch 2 times, most recently from 80a8c5d to ce191c1 Compare July 1, 2024 11:44
@@ -697,6 +697,9 @@ func resourceTencentCloudInstanceCreate(d *schema.ResourceData, meta interface{}
}
if instance != nil && *instance.InstanceState == CVM_STATUS_LAUNCH_FAILED {
//LatestOperationCodeMode
if instance.LatestOperationErrorMsg != nil {
return resource.NonRetryableError(fmt.Errorf("cvm instance %s launch failed. Error msg: %s.\n", *instance.InstanceId, *instance.LatestOperationErrorMsg))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里可能会没有instanceId么

@hellertang hellertang merged commit 2518a03 into master Jul 5, 2024
7 checks passed
@hellertang hellertang deleted the fix/cvm-launch-failed-prompt branch July 5, 2024 12:33
SevenEarth pushed a commit that referenced this pull request Jul 8, 2024
* fix launch failed prompt

* update

* update

---------

Co-authored-by: mikatong <[email protected]>
SevenEarth pushed a commit that referenced this pull request Jul 10, 2024
* fix launch failed prompt

* update

* update

---------

Co-authored-by: mikatong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants