Closed Tjeerd-menno closed 1 year ago
Could this possibly be your issue too? https://github.com/YannickRe/azuredevops-buildagents/issues/30#issuecomment-1516728423
Yes. That was it!
A bit strange though. Packer's docs clearly state that for VHD builds ZRS is supported. https://developer.hashicorp.com/packer/plugins/builders/azure/arm#storage_account_type
When building managed images only LRS is supported according to the docs. https://developer.hashicorp.com/packer/plugins/builders/azure/arm#managed_image_storage_account_type
I've tried with all versions which are in your pipelines by default. But neither Ubuntu (20.04/22.04) nor Windows (2019/2022) work. They all give the same error.
I've checked the availability of the images using the Azure CLI. The sku's are available in my region.
The error happened during the Build VM step.