Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't restrict VM sizes to deprecated VirtualMachineSizeTypes #61

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

example6
Copy link

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: #56

Merge requirements satisfied?

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

Commits signed with GPG?

No

@mentos1386
Copy link

Hey @lkubb and @nicholasmhughes. Is it possible to merge this PR? It would help us out in using the extension. Thanks!

Copy link

codecov bot commented Mar 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.39%. Comparing base (5fd1e16) to head (b5def5f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #61   +/-   ##
=======================================
  Coverage   49.39%   49.39%           
=======================================
  Files          19       19           
  Lines         911      911           
  Branches       31       31           
=======================================
  Hits          450      450           
  Misses        451      451           
  Partials       10       10           
Flag Coverage Δ
Linux 49.39% <ø> (ø)
macOS 49.39% <ø> (ø)
project 71.09% <ø> (ø)
py310 49.39% <ø> (ø)
py39 49.34% <ø> (ø)
salt_3006_9 49.39% <ø> (ø)
salt_3007_1 49.39% <ø> (ø)
tests 44.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lkubb
Copy link
Member

lkubb commented Mar 5, 2025

@mentos1386 Of course. Just to make sure (since I don't use this extension): From my understanding, this is backwards-compatible, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Cannot Create Instances with Cloud
3 participants