salt-extensions / saltext-azurerm

Salt Extension Modules for Azure Resource Manager
Apache License 2.0
7 stars 9 forks source link

Don't restrict VM sizes to deprecated VirtualMachineSizeTypes #61

Open example6 opened 2 months ago

example6 commented 2 months ago

What does this PR do?

This PR removes a lookup of the provided Virtual Machine size against the deprecated enum VirtualMachineSIzeTypes during cloud VM deployment. Any user-provided SKU that isn't present in this deprecated enum will fail to deploy, despite the error message from Azure containing the SKU in its list of valid values.

What issues does this PR fix or reference?

Fixes: https://github.com/salt-extensions/saltext-azurerm/issues/56

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

No