Hi everyone. We just converted from the free trial...
# general
p
Hi everyone. We just converted from the free trial of Enterprise to a Team subscription and I realized our CI/CD errors out now due to the pulumi Github auth action using an organization token erroring out since we are not on an enterprise plan. What is the recommended alternative? Is there still a way to use the OIDC set up without the organization token?
l
Is that Pulumi getting tokens from GitHub to use the GitHub provider, or GitHub getting tokens from Pulumi to run
pulumi up
? I believe both work using a personal token, though I've only tried the latter.
p
It is Github getting Pulumi tokens to be able to then run
pulumi up
. Okay, I'll have to try it with the personal one then, thank you
Hi @little-cartoon-10569, silly question for you. I know that the personal access token can be created in settings. But how can I combine that with the pulumi auth action? I see that the
requested-token-type
can be specified as personal and then I can add my scope to use my user, but then I get unauthorized when running the actions
l
It's been a while since I used GitHub with Pulumi, but iirc, I used the auth action with OIDC, and requested the PAT. You're going the other way: starting with a PAT. So maybe you don't need the auth action? Just set PULUMI_ACCESS_TOKEN and use
pulumi preview
directly from a workflow step.