Skip to content

Suppress noisy warning about server not supporting AcceptEnv #584

@mjeffryes

Description

@mjeffryes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions