Skip to content

Commit

Permalink
Adding UltraSSD to list of sku names when creating a managed disk
Browse files Browse the repository at this point in the history
  • Loading branch information
Keboo committed May 15, 2019
1 parent c42a970 commit cd333a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion azurerm/resource_arm_managed_disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ func resourceArmManagedDiskCreateUpdate(d *schema.ResourceData, meta interface{}
skuName = compute.StandardLRS
} else if strings.EqualFold(storageAccountType, string(compute.StandardSSDLRS)) {
skuName = compute.StandardSSDLRS
}
} else if strings.EqualFold(storageAccountType, string(compute.UltraSSDLRS)) {
skuName = compute.UltraSSDLRS
}

createDisk := compute.Disk{
Name: &name,
Expand Down

0 comments on commit cd333a6

Please sign in to comment.