Azure-Samples / azuresandbox

Stand up an Azure sandbox environment for accelerating your projects in an hour.
MIT License
64 stars 30 forks source link

SkuNotAvailable error when creating virtual machine adds1 in eastus #70

Closed doherty100 closed 10 hours ago

doherty100 commented 2 weeks ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Provision terraform-azurerm-vnet-shared in a region with low / no B2S capacity.

Any log messages given by the failure

Virtual Machine Name: "adds1"): performing CreateOrUpdate: unexpected status 409 (409 Conflict) with error: SkuNotAvailable: The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_B2s' is currently not available in location 'eastus'. Please try another size or deploy to a different location or different zone. See https://aka.ms/azureskunotavailable for details.

Expected/desired behavior

Determine if capacity is available prior to attempting to provision virtual machine.

OS and Version?

Windows Server 2022

Versions

AzureSandbox v2.11.3

Mention any other details that might be useful


Thanks! We'll be in touch soon.