Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- resource "azurerm_managed_disk" "qmlhdd"{
- name = "qmlhdd"
- location = "Central US"
- resource_group_name = "${azurerm_resource_group.qumulateterraform.name}"
- storage_account_type = "Standard_LRS"
- create_option = "Import"
- source_uri = "https://qumulatestorage.blob.core.windows.net/system/Microsoft.Compute/Images/qumulate/packer-osDisk.25fd56ba-fd90-4d03-b006-9c5f73ece695.vhd"
- # Create virtual machine
- resource "azurerm_virtual_machine" "myterraformvm" {
- name = "Qumulateserver"
- location = "Central US"
- resource_group_name = "${azurerm_resource_group.qumulateterraform.name}"
- network_interface_ids = ["${azurerm_network_interface.qumulateni.id}"]
- # vm_size = "Standard_DS1_v2"
- storage_os_disk {
- name = "myOsDisk"
- caching = "ReadWrite"
- create_option = "FromImage"
- vhd_uri = "https://qumulatestorage.blob.core.windows.net/system/Microsoft.Compute/Images/qumulate/packerdisk.vhd"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement