Hi, Is it possible to create a Pulumi Access Token...
# general
m
Hi, Is it possible to create a Pulumi Access Token for an organization account, instead of through a personal account? I'm having trouble getting my GitHub Action to manage my stack through the organization instead of my personal account. More info in slack thread.
I have a personal account with Pulumi and I'm added to an organization. I created a project/stack and created it from my local machine using
pulumi up
. Then in the portal, I transfered the project/stack to my organization. Now when I pulumi up/destroy/etc, it's tracked in the organization's portal. Perfect. I then created a Pulumi Access Token (from my personal account since I can't do that through the organization), and used it with a GitHub Action. The GitHub Action works, but now there's a new copy of the project/stack being tracked in my personal account. The project/stack in the organization is still there but doesn't know anything about trying to be updated by the GitHub Action. Is there a way to force the GitHub Action to use the organization account? Or is there a way to make a pulumi access token linked to the organization account instead of my personal account?
b
I think it’ll work if you specify the fully qualified name of the stack, e.g.
your_org/your_stack
Locally if you do
pulumi stack ls
you’ll see stacks in your personal account as
<stack>
and in your org account as
<org>/<stack>
m
Perfect, that fixed it for me. Thank you so much!
b
No problem - this wasn’t obvious, and I was confused as well the first time 🙂