Skip to content
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

Suppress noisy warning about server not supporting AcceptEnv #584

Open
mjeffryes opened this issue Dec 5, 2024 · 0 comments
Open

Suppress noisy warning about server not supporting AcceptEnv #584

mjeffryes opened this issue Dec 5, 2024 · 0 comments
Labels
kind/enhancement Improvements or new features

Comments

@mjeffryes
Copy link
Member

The command.Remote resource automatically adds PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR to the env, but this produces a warning if the remote host does not support AcceptEnv:

warning: Unable to set 'PULUMI_COMMAND_STDOUT'. This only works if your SSH server is configured to accept
    	these variables via AcceptEnv. Alternatively, if a Bash-like shell runs the command on the remote host, you could
    	prefix the command itself with the variables in the form 'VAR=value command'

This is just obnoxious noise if the user doesn't care about these. We should probably suppress, or at least tone down this message when the user didn't indicate any explicit env to pass.

@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Dec 5, 2024
@mjeffryes mjeffryes added kind/enhancement Improvements or new features and removed needs-triage Needs attention from the triage team labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants