I use the local pulumi backend. I want to move some resources from one stack to another in the same project. I currently have this command:
❯ pulumi state move \
--dest 'vpc' \
--source 'prod' \
--include-parents \
'urn
pulumiprod:
shared infrapkgmain:Vpc$aws
ecs/clusterCluster$awsx
ecsFargateTaskDefinition::build-infra-vpn-fargate-task-definition'
error: failed to get project name of source stack
I came across this:
https://archive.pulumi.com/t/22881875/i-m-trying-to-move-a-resource-between-local-stacks-using-thi
❯ pulumi state upgrade
This will upgrade the current backend to the latest supported version.
Older versions of Pulumi will not be able to read the new format.
Are you sure you want to proceed?
Please confirm that this is what you'd like to do by typing `yes`: yes
Upgraded 0 stack(s) to project mode
What else can I do here?