Closed ddelnano closed 3 years ago
I recently shutdown a VM and ran and terraform plan and noticed the following diff
terraform plan
Terraform will perform the following actions: # xenorchestra_vm.devbox will be updated in-place ~ resource "xenorchestra_vm" "devbox" { .... .... ~ disk { ~ attached = false -> true name_description = "Created by XO" name_label = "devbox disk" position = "0" size = 32212254720 sr_id = "7f469400-4a2b-5624-cf62-61e522e50ea1" vbd_id = "eaa651b3-7552-effa-163f-e3601f1feb63" vdi_id = "772c76ca-4a0c-4261-a453-cd56fb450c40" } ~ network { ~ attached = false -> true device = "0" mac_address = "e6:79:0a:3f:5b:02" network_id = "b347f6fd-8f2a-3de2-05b4-312fe9ffae51" } timeouts {} }
When a VM is shutdown the attached attribute on network and disk attributes should be ignored.
This will be released in v0.19.2 of the provider.
I recently shutdown a VM and ran and
terraform plan
and noticed the following diffWhen a VM is shutdown the attached attribute on network and disk attributes should be ignored.