AzureVMCluster uses deprecated method to get the subscription ID
See original GitHub issueCurrently AzureVMCluster
infers the Azure subscription ID with a deprecated method: https://github.com/Azure/azure-sdk-for-python/blob/12fb3daae6a69d99ff67a64ed52a1fb99671836b/sdk/core/azure-common/azure/common/credentials.py#L17-L28
It’d be nice to avoid that. I think that we could add a subscription_id
argument to AzureVM.__init__
. We might even want to make it required like resource_group
. This would match the behavior of the underlying azure.mgmt
libraries we call into, which all have the subscription ID as a required argument rather than trying to infer it.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Remove Deprecated User Accounts across multiple ...
Deprecated accounts are the accounts that were once deployed to a subscription for some trial/pilot initiative or some other purpose and are ...
Read more >Commits · dask/dask-cloudprovider - GitHub
Avoid deprecated method to get subscription ID This removes the use of a deprecated method from azure-cli-core to get the default subscription ID....
Read more >Enable Monitoring of Deprecated Accounts - Trend Micro
Rule ID: SecurityCenter-021. Ensure that all the deprecated accounts within your Azure cloud subscription(s) are monitored so that Microsoft Azure Security ...
Read more >Deprecated accounts with owner permissions should be ...
Understand Azure AD reporting: https://docs.microsoft.com/azure/active-directory/reports-monitoring/ How to use Azure Identity Access Reviews: ...
Read more >error: the subscription name doesn't exist - Stack Overflow
or just use -SubscriptionId instead of -SubscriptionName. ... WARNING: Current and Default parameters have been deprecated.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also it’s good you have you around here @TomAugspurger!
Yeah that sounds great, would be nice to do this if we can. Totally agree that being able to set this via config makes sense too.
Thanks for looking at this!