hundreds-planet-52835
12/07/2024, 6:23 PMhundreds-planet-52835
12/07/2024, 6:23 PMhundreds-planet-52835
12/07/2024, 6:25 PMclever-sunset-76585
12/07/2024, 10:09 PMstack rm
) the stack in the renamed project without actually destroying any of the resources. Finally, you'd have to pulumi import
every single resource into the new project's stack.hundreds-planet-52835
12/08/2024, 6:15 PMclever-sunset-76585
12/08/2024, 6:39 PMPulumi.yaml
file, so you should update the name in that file after the rename.
Also I just realized something. Since you'd be reusing the original project and the stack name, you can simply import the state into the new project that has the right runtime. For that you should first export the state from your current stack (before you run the stack rename) as a backup.hundreds-planet-52835
12/09/2024, 10:39 PMerror: the stack 'dev' is too old to be used by this version of the Pulumi CLI
hundreds-planet-52835
12/09/2024, 10:41 PMclever-sunset-76585
12/09/2024, 10:47 PMerror: the stack 'dev' is too old to be used by this version of the Pulumi CLII have never seen that error before. What was the CLI version when you created the original TS-based project?
hundreds-planet-52835
12/10/2024, 10:40 AMhundreds-planet-52835
12/10/2024, 10:40 AMhundreds-planet-52835
12/10/2024, 11:19 AMhundreds-planet-52835
12/10/2024, 11:19 AMhundreds-planet-52835
12/10/2024, 11:19 AMhundreds-planet-52835
12/10/2024, 11:21 AMhundreds-planet-52835
12/10/2024, 11:24 AMclever-sunset-76585
12/10/2024, 1:40 PMpulumi stack import
, correct? Anyway glad you've sorted it out.hundreds-planet-52835
12/10/2024, 5:23 PM