pulumi/esc

If you don't have at least open access to the ennvironment, you get an error message saying that the org doesn't exist

Closed this issue · 0 comments

What happened?

Logged in as a user (and with separately a team token) and tried running pulumi env run {org}/{environment} -- command and was getting the following error message:

Error: [404] Not Found: Organization 'demo' not found
An error occurred: [404] Not Found: Organization 'demo' not found

Which is very confusing considering it's the environment that I don't have access to, not the org.

Example

  1. Set the general environment permissions in the org access management settings to "None"
  2. Create an environment
  3. Try to access the environment via the CLI

Or talk to me

Output of pulumi about

CLI
Version      3.116.1
Go Version   go1.22.2
Go Compiler  gc

Host
OS       darwin
Version  14.5
Arch     arm64

Backend
Name           pulumi.com
URL            https://app.pulumi.com/pierskarsenbarg
User           pierskarsenbarg
Organizations  pierskars

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).