-
Notifications
You must be signed in to change notification settings - Fork 112
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
Improve error handling on incorrect API calls #112
Comments
Could you share the configuration or the steps to recreate the issue? |
To force this error you can perform following steps:
After creation, shrink the disk (not supported):
Will result in failures of the next plan, apply, destroy: The only way to resolve this situation is by performing the manual steps listed in the issue or deleting the VM via the UI. |
fix #112: Improve error handling on incorrect API calls
fix nutanix#112: Improve error handling on incorrect API calls
When performing 'incorrect' API calls via the terraform provider, the "status" field on the API is being set to "error". Trying to shrink disks will cause this state.
This state makes it impossible to use Terraform afterwards.
The only way of getting the VM out of error state is the following:
Improving error handling should resolve this issue.
The text was updated successfully, but these errors were encountered: