-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pulumi generates output on stderr / OnStandardError callback with update warning #133
Comments
Hey again. Thanks for filing. There's an environment variable you can set via |
Thanks for the very fast answer. This indeed seems to work. Can I access this somehow through the C# SDK? By access I mean setting this as configuration in the |
What happened?
I'm using the pulumi dotnet automation API to deploy infrastructure on demand. I'm using the callbacks
OnStandardOutput
andOnStandardError
on theUpAsync
method:I'm getting output on the
OnStandardError
when pulumi is outdated:Expected Behavior
Add option to suppress update warnings or send them on stdout instead of stderr as it is not an error.
Steps to reproduce
Use the snipped above, add a stack and adjust logging.
Output of
pulumi about
CLI
Version 3.60.0
Go Version go1.20.2
Go Compiler gc
Host
OS darwin
Version 13.3
Arch arm64
Backend
Name pulumi.com
URL xxx
User xxx
Organizations xxx
Pulumi locates its logs in xxx by default
warning: Failed to read project: no Pulumi.yaml project file found (searching upwards from xxx). If you have not created a project yet, use
pulumi new
to do so: no project file foundwarning: Failed to get information about the current stack: no Pulumi.yaml project file found (searching upwards from xxx). If you have not created a project yet, use
pulumi new
to do so: no project file foundwarning: A new version of Pulumi is available. To upgrade from version '3.60.0' to '3.61.0', run
$ brew update && brew upgrade pulumi
or visit https://pulumi.com/docs/reference/install/ for manual instructions and release notes.
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: