worried-beach-3094808/03/2023, 1:42 AM
pulumi stack rename -h
Rename an existing stack. Note: Because renaming a stack will change the value of `getStack()` inside a Pulumi program, if this name is used as part of a resource's name, the next `pulumi up` will want to delete the old resource and create a new copy. For now, if you don't want these changes to be applied, you should rename your stack back to its previous name. You can also rename the stack's project by passing a fully-qualified stack name as well. For example: 'robot-co/new-project-name/production'. However in order to update the stack again, you would also need to update the name field of Pulumi.yaml, so the project names match.
so, documentation is wrong, OR, pulumi is broken for renaming a stack with FQ. In my case am trying to rename the project Just thought I'd let someone know
$ pulumi stack rename Organization/newproject/stackname error: stack names are limited to 100 characters and may only contain alphanumeric, hyphens, underscores, or periods: "Organization/newproject/stackname"
little-cartoon-1056908/03/2023, 2:25 AM
gifted-gigabyte-5385908/03/2023, 3:12 AM
worried-beach-3094808/03/2023, 4:02 AM
$ pulumi version v3.76.1
little-cartoon-1056908/03/2023, 4:30 AM
worried-beach-3094808/03/2023, 5:31 AM