https://pulumi.com logo
#general
Title
# general
b

bitter-zebra-93800

04/28/2020, 10:08 PM
What is the cleanest way to rename a running stack so the next pulumi up does not confuse pulumi?
s

salmon-account-74572

04/28/2020, 10:46 PM
What are you trying to accomplish?
s

salmon-ghost-86211

04/28/2020, 10:58 PM
Definitely need to know what problem you are trying to solve since renaming a stack is not a common practice in my experience. As long as
getStack()
is not used in a resource's name, you might not have any issues.
b

bitter-zebra-93800

04/29/2020, 1:30 AM
Set up a stack that was dedicated to a single purpose named “one-thing” now I have decided that the stack name was stupid and should be called “other-thing”. “one-thing” is in prod now. Its as simple as that.
s

salmon-ghost-86211

04/29/2020, 11:06 PM
Have you looked at
pulumi stack rename
command? It should provide what you need.
👍 1