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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
As recommended by Microsoft, using a managed storage account for boot diagnostics provides significant performance improvements when creating Azure VMs, by eliminating the need to create a separate storage account for boot diagnostics data.
Additionally, it simplifies management by removing any consideration for manually cleaning up storage accounts that store the serial console log and screenshot file after the VM build is completed.
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
As recommended by Microsoft, using a managed storage account for boot diagnostics provides significant performance improvements when creating Azure VMs, by eliminating the need to create a separate storage account for boot diagnostics data.
Additionally, it simplifies management by removing any consideration for manually cleaning up storage accounts that store the serial console log and screenshot file after the VM build is completed.
Potential configuration
The ideal solution would be to implement it the same way it is done for a Virtual Machine in Terraform, using an optional block: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/windows_virtual_machine#boot_diagnostics
NOTE: Passing a null value will utilize a Managed Storage Account to store Boot Diagnostics.
Potential References
I was hoping this could be as simple as implementing a conditional if statement to make the following property (
StorageUri
) optional:packer-plugin-azure/builder/azure/common/template/template_builder.go
Line 539 in 93909bc
The text was updated successfully, but these errors were encountered: