diff --git a/azurerm/internal/services/compute/validation.go b/azurerm/internal/services/compute/validation.go
index <HASH>..<HASH> 100644
--- a/azurerm/internal/services/compute/validation.go
+++ b/azurerm/internal/services/compute/validation.go
@@ -168,9 +168,9 @@ func validateDiskSizeGB(v interface{}, _ string) (warnings []string, errors []er
 
 func validateManagedDiskSizeGB(v interface{}, _ string) (warnings []string, errors []error) {
 	value := v.(int)
-	if value < 0 || value > 32767 {
+	if value < 0 || value > 65536 {
 		errors = append(errors, fmt.Errorf(
-			"The `disk_size_gb` can only be between 0 and 32767"))
+			"The `disk_size_gb` can only be between 0 and 65536"))
 	}
 	return warnings, errors
 }
azurerm_managed_disk - increase the maximum disk_size_gb to <I> GB. (#<I>)

Azure Ultra SSD Managed Disk (storage_account_type UltraSSD_LRS) supports more than <I> GB.



This code fix this limitation, allowing the max of <I> for Ultra SSD.



Fixes #<I>