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

vSphere/VM resource: Destroy will delete unmanaged disks with VM #8945

Closed
dagnello opened this issue Sep 20, 2016 · 2 comments
Closed

vSphere/VM resource: Destroy will delete unmanaged disks with VM #8945

dagnello opened this issue Sep 20, 2016 · 2 comments

Comments

@dagnello
Copy link
Contributor

After a VM is created with Terraform, if a user adds additional disk devices to VM, then performs a terraform destroy, the VM and these additional disks will be deleted together. Depending on the deployment and expectations, this might not be desired. Resources (in this case disks) not managed by TF, should not be deleted with a TF destroy. Since this is an inherent functionality within vSphere, these additional disks would have to be detached prior to deleting VM.

dagnello added a commit to dagnello/terraform that referenced this issue Sep 20, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to hpcloud/terraform that referenced this issue Sep 20, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to hpcloud/terraform that referenced this issue Sep 21, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 26, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 26, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 26, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 26, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 26, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 26, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 26, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 26, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 26, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 26, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 26, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 27, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 27, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 27, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 27, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 27, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 27, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 27, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
dagnello added a commit to dagnello/terraform that referenced this issue Sep 27, 2016
Optional, defaults to false.  If true, will detach disks not managed by
Terraform VM resource prior to VM deletion.

Issue: hashicorp#8945
@stack72
Copy link
Contributor

stack72 commented Sep 27, 2016

Closed via #8947

@stack72 stack72 closed this as completed Sep 27, 2016
@ghost
Copy link

ghost commented Apr 22, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants