melodic-policeman-1516
12/05/2022, 8:31 PMbillowy-army-68599
12/05/2022, 9:02 PMminiature-musician-31262
12/06/2022, 10:00 PMmelodic-policeman-1516
12/06/2022, 10:02 PMpulumi.yaml
does indeed create new resources.miniature-musician-31262
12/06/2022, 10:02 PMpulumi stack rename
, 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 some-org/new-project-name/stack-name
Pulumi.yaml
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-1516
12/06/2022, 10:22 PMminiature-musician-31262
12/06/2022, 10:23 PMPulumi.yaml
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).