You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to use pulumi env run (which just uses esc under the hood), but forgot to set the environment name in the command line args. This resulted in a rather confusing error.
Example
$ pulumi env run -- pulumi preview
Warning: Referring to an environment name ('pulumi') without a project is deprecated.
Please use 'v-thomas-pulumi-corp/default/pulumi' or 'default/pulumi' instead.
error: resolving command: exec: "preview": executable file not found in $PATH
With the -- disambiguation I was expecting it to warn me that there was no environment name specified on the command line.
Output of pulumi about
$ pulumi about
CLI
Version 3.153.2-dev.0
Go Version go1.22.1
Go Compiler gc
Plugins
KIND NAME VERSION
resource lambda-plugin 0.0.1
language python 3.153.2-dev.0
Host
OS debian
Version trixie/sid
Arch x86_64
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).
The text was updated successfully, but these errors were encountered:
What happened?
I was trying to use
pulumi env run
(which just uses esc under the hood), but forgot to set the environment name in the command line args. This resulted in a rather confusing error.Example
With the
--
disambiguation I was expecting it to warn me that there was no environment name specified on the command line.Output of
pulumi about
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).
The text was updated successfully, but these errors were encountered: