Closed kerruba-milkman closed 1 year ago
A Slack conversation has been started around this topic: https://pulumi-community.slack.com/archives/C019YSXN04B/p1691152855263549
Apparently from talking with @jaxxstorm, this actually looks like a bug
@kerruba-milkman I'm taking a look at this today, thank you for opening the issue
Expected behavior
An organization token with admin rights should allow users and/or applications (leveraging pulumi-automation) to create new stacks if not already available.
Current behavior
I've created an organization access token with admin flag and I'm using it to create a new stack within the context of an application that uses the pulumi-automation API. The application returns the following error:
The same error occurs when calling directly the pulumi cli.
Steps to reproduce
Context (Environment)
We need to automate the process of new customers onboarding. To do so, we developed multiple pulumi applications that will deploy different parts of our infrastructure. To coordinate the work between the different applications, we developed an REST API in nodejs that uses the pulumi automation API behind the scenes to deploy a new stack for all the applications involved.
Affected feature