Hello, Any leads here? How to upgrade pulumi:provi...
# general
r
Hello, Any leads here? How to upgrade pulumiprovidersazure-native: version from 1.66.0 to the latest version 2_38_0 without modifying/destroying the current stack and resources?
h
Don't recall the specifics, but we had asked the same. It's a bit tricky to update as many components may have new properties etc. We went with pinning the version to the stack and followed the lifecycle for destroying and redeploying.
r
oh ok. Yes I did try destroying and redeploying on dev environment. Didn't want to do that for Model and Prod environments. When you say pinning the version where was it exactly?
h
what language are u using? i guess it depends. we are sing autamtion api and cand define a specific verison for every stack. Not sure if this helps to you - https://github.com/pulumi/pulumi/pull/2767
r
Thanks for sharing! But we use c# and deploy azure resources through pulumi IAC through azure devops pipeline
l
@rich-continent-15404 did you see our upgrade guide? https://www.pulumi.com/registry/packages/azure-native/from-v1-to-v2/
r
Yes we have tried this but the pulumi up task is always trying to install older pulumi azure provider versions. We a re using a azure devops release pipeline