https://pulumi.com logo
j

jolly-lunch-12979

02/23/2022, 11:59 AM
Is there a supported way of moving a stack to a different project? I've not found anything other than export stack -> edit urn to new project -> import stack, then redo all the config secrets which is a huge pain to do. Surely there must be an easier way?
e

echoing-dinner-19531

02/23/2022, 12:19 PM
I think
pulumi stack rename
should handle moving a stack to a new project name.
b

bored-table-20691

02/23/2022, 12:50 PM
Yes, rename should do it. If you need to move to a different account (in the Pulumi backend) you need to do it through the web console.
j

jolly-lunch-12979

02/23/2022, 1:29 PM
Oh, well that should be much easier than what I was thinking. Not sure how I missed that, will give it a go. Thanks both.
Seems to work as expected, I was just overcomplicating it 😁
2 Views