Azure VIrtual Machine in Failed State - Disk Encryption Set Deployment


When deploying Azure linux Virtual machine using terraform and disk encryption set, the virtual machine is getting created however the state of vm is in failed state with below error:
ProvisioningFailed: An unexpected error occured while processing disk. Please retry later. InternalDiskManagementError

The OS disk is associated with disk encryption set successfully.

Using terraform Provider 2.1.0

Anyone else facing this issue?