Attempting to migrate to `pulumi-azure-native` V3....
# azure
a
Attempting to migrate to
pulumi-azure-native
V3. Seeing some unexpected behavior when using a non-default API version for
app.ContainerApp
where it wants to perform delete+create on the same resource. Any tips or tricks on how to solve?
t
These underscores in type name don't look right to me... What was the change that triggered this preview?
a
Added the
2024-10-02-preview
SDK
pulumi package gen-sdk --local --out sdk/pulumi_azure_native_app_v20241002preview --language python azure-native app 2024-10-02-preview
Included local package in
pyproject.toml
Copy code
[tool.poetry.dependencies]
  pulumi-azure-native-app-v20241002preview = { path = "sdk/pulumi_azure_native_app_v20241002preview/python" }
Updated package imports:
Copy code
- from <http://pulumi_azure_native.app|pulumi_azure_native.app> import v20241002preview as app
+ from pulumi_azure_native_app_v20241002preview import app
t
And before that it was deployed with v2?
a
Yes
Copy code
pulumi:providers:azure-native::default_2_90_0
pulumi:providers:azure-native_app_v20241002preview::default_3_5_0
Taken from the provider parameter for both of those...
t
The team is taking a look, it sounds like https://github.com/pulumi/pulumi-azure-native/pull/4070 is related