Skip to content

Instantly share code, notes, and snippets.

@sprokopiak
Created May 12, 2016 14:00
Show Gist options
  • Save sprokopiak/889d7d9f12a16b4da090ff51b43d4621 to your computer and use it in GitHub Desktop.
Save sprokopiak/889d7d9f12a16b4da090ff51b43d4621 to your computer and use it in GitHub Desktop.
vsphere_virtual_machine and vsphere_folder race condition in Terraform
vsphere_virtual_machine.web: Refreshing state... (ID: SCP Testing/terraform/terraform-web)
vsphere_folder.web: Refreshing state... (ID: DEVESX/SCP Testing/terraform)
vsphere_folder.web: Destroying...
vsphere_virtual_machine.web: Destroying...
Error applying plan:
1 error(s) occurred:
* vsphere_folder.web: Folder SCP Testing/terraform is non-empty and will not be deleted
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