Skip to content

Instantly share code, notes, and snippets.

@straubt1
Created October 26, 2018 13:31
Show Gist options
  • Save straubt1/3732401d868ce69025284feb4091f960 to your computer and use it in GitHub Desktop.
Save straubt1/3732401d868ce69025284feb4091f960 to your computer and use it in GitHub Desktop.
dynamic "storage_data_disk" {
for_each = var.data_disks
content {
name = "datadisk${storage_data_disk.value.lun}"
lun = storage_data_disk.value.lun
disk_size_gb = storage_data_disk.value.size
create_option = "Empty"
managed_disk_type = "Standard_LRS"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment