Fix remove data_disk part in vm-linux and vm-windows

This commit is contained in:
Jeremy MARMOL 2017-10-13 08:59:39 +02:00
Родитель 184331051b
Коммит 88d7340b11
1 изменённых файлов: 0 добавлений и 16 удалений

16
main.tf
Просмотреть файл

@ -38,14 +38,6 @@ resource "azurerm_virtual_machine" "vm-linux" {
managed_disk_type = "${var.storage_account_type}"
}
storage_data_disk {
name = "datadisk-${var.vm_hostname}-${count.index}"
create_option = "Empty"
lun = 0
disk_size_gb = "${var.data_disk_size_gb}"
managed_disk_type = "${var.data_sa_type}"
}
os_profile {
computer_name = "${var.vm_hostname}"
admin_username = "${var.admin_username}"
@ -138,14 +130,6 @@ resource "azurerm_virtual_machine" "vm-windows" {
managed_disk_type = "${var.storage_account_type}"
}
storage_data_disk {
name = "datadisk-${var.vm_hostname}-${count.index}"
create_option = "Empty"
lun = 0
disk_size_gb = "${var.data_disk_size_gb}"
managed_disk_type = "${var.data_sa_type}"
}
os_profile {
computer_name = "${var.vm_hostname}"
admin_username = "${var.admin_username}"