You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
Hello,
We are using vra7_2.0.0 plugin version & trying to delete a instance using vra7. Though the instance isnt deleted on cloud, vra7 terraform provider reports a successful destruction. On debugging, we found that the prior call to catalog-id/api/consumer/resources/<id>/actions is returning a 500 error.
Since this error isnt handled in the code, it proceeds and states "Finished destroying the resource vra7_deployment with request id"
Below is the code snippet of the call to GetResourceActions inside resourceVra7DeploymentDelete function, where we believe the error should be handled:
File Name: resource_vra7_deployment.go Line number: 529
Hello,
We are using vra7_2.0.0 plugin version & trying to delete a instance using vra7. Though the instance isnt deleted on cloud, vra7 terraform provider reports a successful destruction. On debugging, we found that the prior call to
catalog-id/api/consumer/resources/<id>/actions
is returning a 500 error.Since this error isnt handled in the code, it proceeds and states "Finished destroying the resource vra7_deployment with request id"
Below is the code snippet of the call to
GetResourceActions
insideresourceVra7DeploymentDelete
function, where we believe the error should be handled:File Name: resource_vra7_deployment.go
Line number: 529
deploymentResourceActions, _ := vraClient.GetResourceActions(deploymentID)
Can you kindly validate this issue. I will be raising a pull request for the same.
Thanks,
Avi
The text was updated successfully, but these errors were encountered: