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
Allow opt-out of adding stdout/stderr env variables for remote command (#451)
# Context
At the moment, stdout and stderr of previous runs are passed as
environment variables on future invocations. When stdout or stderr is
too large, this cause an error.
# Proposed change
#355 fixed it for local commands, this fixed it for remote commands. See
#285 for full details on the issue
See this comment for details around local vs remote functionality :
#285 (comment)
---------
Co-authored-by: Thomas Kappler <[email protected]>
Co-authored-by: Martin Lehmann <[email protected]>
Copy file name to clipboardExpand all lines: provider/cmd/pulumi-resource-command/schema.json
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -368,6 +368,11 @@
368
368
"command:remote:Command": {
369
369
"description": "A command to run on a remote host.\nThe connection is established via ssh.",
370
370
"properties": {
371
+
"addPreviousOutputInEnv": {
372
+
"type": "boolean",
373
+
"description": "If the previous command's stdout and stderr (as generated by the prior create/update) is\ninjected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR.\nDefaults to true.",
374
+
"default": true
375
+
},
371
376
"connection": {
372
377
"$ref": "#/types/command:remote:Connection",
373
378
"description": "The parameters with which to connect to the remote host.",
@@ -424,6 +429,11 @@
424
429
"stdout"
425
430
],
426
431
"inputProperties": {
432
+
"addPreviousOutputInEnv": {
433
+
"type": "boolean",
434
+
"description": "If the previous command's stdout and stderr (as generated by the prior create/update) is\ninjected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR.\nDefaults to true.",
435
+
"default": true
436
+
},
427
437
"connection": {
428
438
"$ref": "#/types/command:remote:Connection",
429
439
"description": "The parameters with which to connect to the remote host.",
0 commit comments