When building a standard, non managed VHD for Azure with Packer, the build output includes the following message:
==> azure-arm: Warning: You are using Azure Packer Builder to create VHDs which is being deprecated, consider using Managed Images. Learn more http://aka.ms/packermanagedimage
I checked the doc page but could not find information regarding when the builder for VHDs will be deprecated.
When will it be deprecated?
I hope they won't. Right now, the Azure Marketplace only supports VHDs as an image input...
Azure wants everyone to move to using managed images and managed disks because they hide the complexity with respect to storage account performance. Managed disks can be exported to a VHD.
What if we removed VHD support but added a post-provisioner that can automate the export to a storage account?
As for a date, we don't have a hard deadline, just a wish to untangle the mess it currently is.
Why not support both?
Sure, the managed disk can be exported to a VHD, but then one also has to clean up and remove the managed disk...
I would love to be able to build a managed disk in my packer template.
@LazzariPaolo, thanks for reaching out. I believe the initial question around the deprecation warning has been answered. Based off the conversation it doesn't look like there is any actionable items at this time (other than keeping an eye for the deprecation). I am going to close this issue.
If anything changes around support for VHD builds or if you find your are running into an issue with the builds please feel free to open a new issue so we can help out. Cheers!
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.