Hey folks - are there any examples of replacing a ...
# kubernetes
b
Hey folks - are there any examples of replacing a resource’s Kubernetes provider without triggering a replacement?
s
You’ll need to use an alias: https://www.pulumi.com/docs/concepts/options/aliases/ (i.e., alias the provider so the resource’s URN, which includes the provider, doesn’t change)
b
Thanks - Will I need to keep the alias on the new provider forever (i.e I can’t remove the alias after running
pulumi up
to provision the new provider)?
s
Yes, until such time as you are ready to replace resources.