Join Slack
Powered by
Hey folks - are there any examples of replacing a ...
# kubernetes
b
bulky-apple-458
02/02/2024, 10:26 PM
Hey folks - are there any examples of replacing a resource’s Kubernetes provider without triggering a replacement?
s
salmon-account-74572
02/02/2024, 11:04 PM
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
bulky-apple-458
02/05/2024, 5:40 PM
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
salmon-account-74572
02/05/2024, 7:58 PM
Yes, until such time as you are ready to replace resources.
Open in Slack
Previous
Next