Is there anyway to move a stack to a different pro...
# general
e
Is there anyway to move a stack to a different project?
c
If by project you mean the project name from
Pulumi.yaml
, then yes. The latest version of the Pulumi CLI supports changing that by using
pulumi stack rename
. Just run
pulumi stack select
and then
pulumi stack rename mbixler/new-project-name/new-stack-name
.
Moving stacks between different Pulumi organizations is something that I can do for you, but we don’t have support for it in the Pulumi Console UI just yet.
e
this is in the same org, but I'm getting permission denied even though I own both projects
c
That’s odd. Can you share the
pulumi
output with the error message? (Feel free to DM.)
Looking at the code, renaming a stack requires the organization
ADMIN
role, and not just stack
WRITE
access. That doesn’t sound quite right, and I’ll look into changing that for our next release.