https://pulumi.com logo
#general
Title
# general
e

elegant-crayon-4967

10/28/2019, 9:35 PM
Is there anyway to move a stack to a different project?
c

colossal-beach-47527

10/28/2019, 9:40 PM
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

elegant-crayon-4967

10/28/2019, 9:42 PM
this is in the same org, but I'm getting permission denied even though I own both projects
c

colossal-beach-47527

10/28/2019, 9:43 PM
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.
2 Views