Skip to content

Commit

Permalink
Create data disk in the same region as the virtual machine
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Schwarz <[email protected]>
  • Loading branch information
rswrz committed Nov 18, 2024
1 parent 0ded38c commit 3586a40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions r-disk.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ resource "azurerm_managed_disk" "this" {
storage_account_type = each.value.storage_account_type
create_option = each.value.create_option
disk_size_gb = each.value.disk_size_gb
zone = var.zone
}

resource "azurerm_virtual_machine_data_disk_attachment" "this" {
Expand Down

0 comments on commit 3586a40

Please sign in to comment.