How does Pulumi determine the default Azure REST A...
# general
m
How does Pulumi determine the default Azure REST API version used within azure-native (v3)? Are API versions only changed when the azure-native major versions change? In my project, its tough for users to generate local SDK packages, and we have discovered a number of resources which are on very old API version which lack the properties that that object uses in 2026. For example: azure-native.operationalinsights.Table Uses Azure REST API version 2023-09-01. But this API lacks modern Log Analytics plans which we need to use.
s
I think we frequently just wait until someone complains, since we don’t want to make breaking changes without a reason to do so. (I would expect v4 will move them all to the latest production version.) IIRC, they can be updated on a per-resource basis or a per-API (provider module) basis. Because MSFT’s API versioning is… unique, we can make a breaking change to a resource or module in a minor version. So, if you submit a GH issue, we can make that change.
❤️ 1
When you create the issue, post it here and I might be able to take a crack at it.
d
That's amazing. Thanks! I was pretty deep into a generic azure-native
Resource
, but there were a bunch of issues with the resource shape in the state file. This will be sooo much more simple. https://github.com/pulumi/pulumi-azure-native/issues/4899
s
@delightful-hospital-78325 Assuming you are also @modern-analyst-24293. I DMed full-name Will, but I went to HS with Tim Wainwright, and recall him fondly - we were in French class together. Tell him I said hello!
👍 1