Skip to content

Commit

Permalink
Create data disks and attach after VM creation by azurerm_virtual_mac…
Browse files Browse the repository at this point in the history
…hine_data_disk_attachment resource. (#227)

* Create data disks and attach after VM creation by azurerm_virtual_machine_data_disk_attachment resource.

This allows OS disks to be destroyed and recreated while leaving the data disks.

* Use `nested_data_disks` instead of `*_by_data_disk_attachment`

---------

Co-authored-by: Jerel Olstad <Jerel.Olstad@med.ge.com>
  • Loading branch information
DatsloJRel and Jerel Olstad authored Feb 8, 2023
1 parent 9f7b4af commit bb17330
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 75 deletions.
Loading

0 comments on commit bb17330

Please sign in to comment.