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

Jhnidek/1.28 cct 384 more azure facts #3393

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: 1.28 Update version of Azure metadata
* Backport commit to 1.28 branch
* Original PR: #3389
  * Original commit: 76253dc
* Update the version of metadata we try to get from
  Azure IMDS server, because we need facts from new
  version of metadata and old version of metadata
  could be deprecated in the future
  • Loading branch information
jirihnidek committed Apr 24, 2024
commit 1953963e0cafed6cffbb7752342cd3ba317091a9
2 changes: 1 addition & 1 deletion src/cloud_what/providers/azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class AzureCloudProvider(BaseCloudProvider):
# for very long time. It would be good to update the version from time to time,
# because old versions (three years) are deprecated. It would be good to update
# the API version with every minor version of RHEL
API_VERSION = "2021-02-01"
API_VERSION = "2023-07-01"

BASE_CLOUD_PROVIDER_METADATA_URL = "http://169.254.169.254/metadata/instance?api-version="

Expand Down