Guest User

Untitled

a guest
Feb 17th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. resource "azurerm_managed_disk" "tf-mdsk-cluster" {
  2. count = 5
  3. name = "${var.ax_base_hostname}-${count.index+1}-DATADISK"
  4. location = "${azurerm_resource_group.tf-rg-cluster-internal.location}"
  5. resource_group_name = "${azurerm_resource_group.tf-rg-cluster-internal.name}"
  6. storage_account_type = "Standard_LRS"
  7. create_option = "Empty"
  8. disk_size_gb = "1024"
  9. }
  10.  
  11. storage_data_disk {
  12. name = "${var.ax_base_hostname}-${count.index+1}-DISK-0"
  13. managed_disk_type = "Standard_LRS"
  14. create_option = "Empty"
  15. lun = 0
  16. disk_size_gb = "1023"
  17. }
  18.  
  19. storage_data_disk {
  20. name = "${var.ax_base_hostname}-${count.index+1}-DISK-1"
  21. managed_disk_type = "Standard_LRS"
  22. create_option = "Empty"
  23. lun = 1
  24. disk_size_gb = "1023"
  25. }
Add Comment
Please, Sign In to add comment