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

important-appointment-55126

05/08/2020, 5:25 PM
getting start with Pulumi - If i create a project/stack, can i move it into an organization later when we’re ready to pay for it? How does it work if I want to split a project up into smaller projects at some point; is the state tracking global to the org?
e

echoing-breakfast-73834

05/08/2020, 7:16 PM
I believe you can do so by renaming the stack - see https://www.pulumi.com/docs/reference/cli/pulumi_stack_rename/ I think if you had code to create identical resources you could export a monolithic stack to a file, shard it out, and then import the resulting files into new stacks - see https://www.pulumi.com/docs/reference/cli/pulumi_stack/ import/export commands
i

important-appointment-55126

05/08/2020, 8:09 PM
thanks for that! I actually see in the UI now for stack settings there’s a “transfer stack” option to move a stack to another organization, so that answers that one
splitting up an existing stack via that export/import process sounds a bit of a pain
would imagine that must be a common thing that people do
e

echoing-breakfast-73834

05/08/2020, 8:13 PM
No problem. I can't speak for other people, but personally I haven't split up a stack before. That's just where I'd start looking if I was going to.