microsoft / MSLab

Azure Stack HCI, Windows 10 and Windows Server rapid lab deployment scripts
MIT License
1.18k stars 285 forks source link

avoid re-create volume in case of retry #469

Closed Li-Yanzhi closed 2 years ago

Li-Yanzhi commented 2 years ago

Firstly to check whether the volume exists then to create it, so that avoiding create multiple aks volume in case of re-executing script block when error occurs.