Let’s say I have a project and stack named `itay/m...
# general
b
Let’s say I have a project and stack named
itay/myproj/mystack
, and then I use a StackReference to refer to it from another project and stack (
itay/someproj/clientstack
). Then, say I rename the original stack to
itay/myproj2/mystack2
. Now, if I do a
pulumi up
on the
itay/someproj/clientstack
stack. Will I get an error saying that
itay/myproj/mystack
doesn’t exist, since it’s stored in the state of this client stack? What’s the right way to tackle this?
The issue I ran into was that
pulumi refresh
doesn’t work anymore post-rename of the stack, and my automation had that baked in.