Skip to content
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

ENTITY_NOT_FOUND Error on apply after manual VM deletion #143

Closed
yannickstruyf3 opened this issue Jun 16, 2020 · 0 comments · Fixed by #144
Closed

ENTITY_NOT_FOUND Error on apply after manual VM deletion #143

yannickstruyf3 opened this issue Jun 16, 2020 · 0 comments · Fixed by #144

Comments

@yannickstruyf3
Copy link
Collaborator

Nutanix Cluster Information

PC 5.16.x

Terraform Version

v0.12.1

Affected Resource(s)

  • nutanix_virtual_machine

Terraform Configuration Files

Debug Output

Error: error: {
"api_version": "3.1",
"code": 404,
"kind": "vm",
"message_list": [
{
"message": "vm : dc3b2bc8-3149-4370-a6b4-f2553db2b821 does not exist.",
"reason": "ENTITY_NOT_FOUND"
}
],
"state": "ERROR"
}

--->

Panic Output

Expected Behavior

If a VM is manually deleted from Prism Central, Terraform will detect this and create a new VM

Actual Behavior

Terraform throws entity not found error

Steps to Reproduce

  1. Create a vm using terraform
  2. Go into Prism Central, find your VM and delete it
  3. Run terraform apply

Important Factors

References

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 a pull request may close this issue.

1 participant