Hey folks, I'm trying to run `pulumi stack rename`...
# general
c
Hey folks, I'm trying to run
pulumi stack rename
to rename a project (eg
pulumi stack rename org/new-name/dev
) and I'm getting an error
error: [403] You do not have permission to perform this operation.
I've tried
pulumi logout
and
pulumi login
and still getting the error. This is a project that I created on this machine a few hours ago. In the meantime I did have to remove homebrew and reinstall it, but not sure how that could be causing an issue as
pulumi up
is working fine. Adding
-v=
for verbose logging doesn't yield any additional output
b
do you have admin permissions on the destination org? What permission do you have?
c
Oh, no, I am not an admin. I think my boss demoted me...
Well that answers that, most likely
r
@billowy-army-68599 I just ran into this issue. Seems kinda weird one needs to be admin to rename ones own stack/project. Also especially frustrating given that the Team subscription only allows a single admin in the team. I've not encountered this model in any other subscription service I've ever used. I'm sure there was some reasoning which made sense to the sales team but....
b
@rich-motorcycle-71684 The creator of the stack gets admin rights to a stack, so they can rename it. If you didn’t create the stack, and you’re not an org admin you need to ask the stack creator to rename it for you. I can definitely appreciate the frustration, especially around admin limits. I would recommend opening an issue here: https://github.com/pulumi/pulumi-cloud-requests
r
Hmm, I did create the stack (see screenshot) but I get this message
Copy code
$ pulumi stack rename koalaprod
error: [403] You do not have permission to perform this operation.
b
that’s definitely not what i’d expect, let me double check
@rich-motorcycle-71684 we think this is a bug, we’re opening an issue for it
r
@billowy-army-68599 thank you
g
I wonder if this is fixed yet?