I’ve been creating some of my Pulumi scripts in di...
# general
m
I’ve been creating some of my Pulumi scripts in different repos, and I want to consolidate some of them now. Is there a best practice for transferring ownership of the resources created with Pulumi to a different script? Or can I just copy the files / function calls and it will just work?
w
Assuming you want the same project and stack names, it’ll just work. In other words, you can git clone the repo somewhere new and do a
pulumi stack ls
and as long as you are logged into the same backend as was originally used, you’ll see any stacks that exist and can update them going forward from that location.
m
Thanks!