git-for-windows / git-for-windows-automation

A few GitHub workflows and support code to help with Git for Windows' day-to-day tasks
10 stars 9 forks source link

create-azure-self-hosted-runners: use unique deployment names #26

Closed dennisameling closed 1 year ago

dennisameling commented 1 year ago

When multiple parallel deployments were requested, all deployments after the first failed with Unable to edit or replace deployment 'azure-arm-template'. Let's use unique deployment names related to the generated VM name so that we not only can support parallel deployments, but also should be able to have a better Azure deployment log history.

Ref: https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-powershell#deployment-name