Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. resource "azurerm_managed_disk" "qmlhdd"{
  2. name = "qmlhdd"
  3. location = "Central US"
  4. resource_group_name = "${azurerm_resource_group.qumulateterraform.name}"
  5. storage_account_type = "Standard_LRS"
  6. create_option = "Import"
  7. source_uri = "https://qumulatestorage.blob.core.windows.net/system/Microsoft.Compute/Images/qumulate/packer-osDisk.25fd56ba-fd90-4d03-b006-9c5f73ece695.vhd"
  8.  
  9. # Create virtual machine
  10. resource "azurerm_virtual_machine" "myterraformvm" {
  11. name = "Qumulateserver"
  12. location = "Central US"
  13. resource_group_name = "${azurerm_resource_group.qumulateterraform.name}"
  14. network_interface_ids = ["${azurerm_network_interface.qumulateni.id}"]
  15. # vm_size = "Standard_DS1_v2"
  16.  
  17.  
  18.  
  19. storage_os_disk {
  20. name = "myOsDisk"
  21. caching = "ReadWrite"
  22. create_option = "FromImage"
  23. vhd_uri = "https://qumulatestorage.blob.core.windows.net/system/Microsoft.Compute/Images/qumulate/packerdisk.vhd"
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement