How do I move resources? I am refactoring one of m...
# general
r
How do I move resources? I am refactoring one of my CustomResources to break it apart and in the process I want to change the URNs to match the new name. I don't want to destroy and create resources, just move them within the Pulumi state essentially
w
You can use aliases to accomplish this. Telling Pulumi what name the resource used to have, so that it can identify that these are the same even though they are now part of different components. https://www.pulumi.com/docs/concepts/options/aliases/
r
Thank you, this is good to know