You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Error updating Managed Disk "disk-xxx-data1" (Resource Group "rg-xxx"): compute.DisksClient#Update: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="The type of the Disk Encryption Set in the request is EncryptionAtRestWithCustomerKey, but this Disk Encryption Set was created with type EncryptionAtRestWithPlatformAndCustomerKeys."
Expected Behaviour
Managed disk should be created with disk encryption set of type EncryptionAtRestWithPlatformAndCustomerKeys. Incidentally this type of disk encryption set works with the os disk when creating a VM.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_managed_disk
Terraform Configuration Files
Output
Expected Behaviour
Managed disk should be created with disk encryption set of type EncryptionAtRestWithPlatformAndCustomerKeys. Incidentally this type of disk encryption set works with the os disk when creating a VM.
Actual Behaviour
Managed disk not created - error shown above.
Steps to Reproduce
terraform apply
References
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/disks-enable-double-encryption-at-rest-cli
The text was updated successfully, but these errors were encountered: