melodic-policeman-151612/05/2022, 8:31 PM
billowy-army-6859912/05/2022, 9:02 PM
miniature-musician-3126212/06/2022, 10:00 PM
melodic-policeman-151612/06/2022, 10:02 PM
does indeed create new resources.
miniature-musician-3126212/06/2022, 10:02 PM
, though 🤔 I haven’t used it yet, but it looks like you can pass it a fully-qualified stack name, so like
pulumi stack rename
pulumi stack rename some-org/new-project-name/stack-name
when you’re done renaming all of them, but otherwise, resources all seem to come across into the new stack. (I’m using the Service backend, but I’d assume it’s the same with other backends as well.)
You can also rename the stack’s project by passing a fully-qualified stack name as well.
melodic-policeman-151612/06/2022, 10:22 PM
miniature-musician-3126212/06/2022, 10:23 PM
after all of the stacks in that project have been renamed. Otherwise, your next Pulumi up will try to find a project by the old name and not find it (as it’s now got the new name).