Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- resource "azurerm_managed_disk" "tf-mdsk-cluster" {
- count = 5
- name = "${var.ax_base_hostname}-${count.index+1}-DATADISK"
- location = "${azurerm_resource_group.tf-rg-cluster-internal.location}"
- resource_group_name = "${azurerm_resource_group.tf-rg-cluster-internal.name}"
- storage_account_type = "Standard_LRS"
- create_option = "Empty"
- disk_size_gb = "1024"
- }
- storage_data_disk {
- name = "${var.ax_base_hostname}-${count.index+1}-DISK-0"
- managed_disk_type = "Standard_LRS"
- create_option = "Empty"
- lun = 0
- disk_size_gb = "1023"
- }
- storage_data_disk {
- name = "${var.ax_base_hostname}-${count.index+1}-DISK-1"
- managed_disk_type = "Standard_LRS"
- create_option = "Empty"
- lun = 1
- disk_size_gb = "1023"
- }
Add Comment
Please, Sign In to add comment