Skip to content

Instantly share code, notes, and snippets.

@thekoma
Created July 7, 2017 09:33
Show Gist options
  • Save thekoma/4689dfa4c9e61f7f25972e42fdedac70 to your computer and use it in GitHub Desktop.
Save thekoma/4689dfa4c9e61f7f25972e42fdedac70 to your computer and use it in GitHub Desktop.
Output terraform error
Error applying plan:
5 error(s) occurred:
* vcd_vapp_vm.elastics[2] (destroy): 1 error(s) occurred:
* vcd_vapp_vm.elastics.2: Error Undeploying vApp: &errors.errorString{s:"error undeploy vApp: API Error: 400: [ 3ac48d40-b054-417f-b1ea-9ae4241fca63 ] The entity ELK_NET is busy completing an operation."}
* vcd_vapp_vm.kibanas (destroy): 1 error(s) occurred:
2017/07/07 11:31:25 [DEBUG] plugin: /home/koma/src/terraform_go/bin/terraform-provider-powerdns: plugin process exited
2017/07/07 11:31:25 [DEBUG] plugin: /home/koma/src/terraform_go/bin/terraform-provider-vcd: plugin process exited
* vcd_vapp_vm.kibanas: Error Undeploying vApp: &errors.errorString{s:"error undeploy vApp: API Error: 400: [ eff732b2-a474-486d-9520-f3ed8878457d ] The entity ELK_NET is busy completing an operation."}
* vcd_vapp_vm.elastics[0] (destroy): 1 error(s) occurred:
* vcd_vapp_vm.elastics.0: Error Undeploying vApp: &errors.errorString{s:"error undeploy vApp: API Error: 400: [ 785496a4-91b0-49bb-9186-8a7a770553ee ] The entity ELK_NET is busy completing an operation."}
* vcd_vapp_vm.logstashes[0] (destroy): 1 error(s) occurred:
* vcd_vapp_vm.logstashes.0: Error Undeploying vApp: &errors.errorString{s:"error undeploy vApp: API Error: 400: [ 5397017c-4419-4de0-8d0f-17432eb69007 ] The entity ELK_NET is busy completing an operation."}
* vcd_vapp_vm.elastics[1] (destroy): 1 error(s) occurred:
* vcd_vapp_vm.elastics.1: Error Undeploying vApp: &errors.errorString{s:"error undeploy vApp: API Error: 400: [ 1296f986-ba1a-4f2d-a788-d6a3b0492370 ] The entity ELK_NET is busy completing an operation."}
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment