From 92fb14b077b24b58b94d9da1f647a5e91095ed66 Mon Sep 17 00:00:00 2001 From: Jamie Phillips Date: Tue, 1 Oct 2019 23:40:42 -0400 Subject: [PATCH] Adding the note about the deletion of disks. This ticket fixes #4343 by adding the note about needing to delete the disks. --- website/docs/r/virtual_machine.html.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/docs/r/virtual_machine.html.markdown b/website/docs/r/virtual_machine.html.markdown index 15d6b3e7f2aa..ad6d386f0a22 100644 --- a/website/docs/r/virtual_machine.html.markdown +++ b/website/docs/r/virtual_machine.html.markdown @@ -120,8 +120,12 @@ The following arguments are supported: * `delete_os_disk_on_termination` - (Optional) Should the OS Disk (either the Managed Disk / VHD Blob) be deleted when the Virtual Machine is destroyed? Defaults to `false`. +~> **Note:** This setting works when instance is deleted via Terraform only and don't forget to delete disks manually if you deleted VM manually. It can increase spending. + * `delete_data_disks_on_termination` - (Optional) Should the Data Disks (either the Managed Disks / VHD Blobs) be deleted when the Virtual Machine is destroyed? Defaults to `false`. +-> **Note:** This setting works when instance is deleted via Terraform only and don't forget to delete disks manually if you deleted VM manually. It can increase spending. + * `identity` - (Optional) A `identity` block. * `license_type` - (Optional) Specifies the BYOL Type for this Virtual Machine. This is only applicable to Windows Virtual Machines. Possible values are `Windows_Client` and `Windows_Server`.