pulumi icon indicating copy to clipboard operation
pulumi copied to clipboard

Disable showing of outputs in `up`

Open nesl247 opened this issue 5 years ago • 5 comments

I work with a lot of stacks, and most of them have outputs. However, rarely do I need to see the output when running pulumi up. I would expect to only see this when clicking on details, but even then, I'd like to not see it.

nesl247 avatar Aug 18 '20 19:08 nesl247

Workaround would be to specify:

pulumi up --suppress-outputs

justinvp avatar Aug 18 '20 19:08 justinvp

Yep, but having to specify that all the time is a little annoying. I think one of the things that would benefit pulumi is if it had a difference between a "show the user this" type of output, and a "this is output for a StackReference". 100% of our outputs are for StackReference purposes. We NEVER need to see these.

nesl247 avatar Aug 18 '20 19:08 nesl247

Would setting an environment variable to suppress these be useful for you @nesl247 ?

stack72 avatar Aug 19 '20 10:08 stack72

That works. I don't think it's a good long term solution based on the separation of different kinds of outputs, but it works for now.

nesl247 avatar Aug 19 '20 13:08 nesl247

any update on this?

it's very annoying, especially when errors are emitted and one has pages of unnecessary outputs to scroll back before finding he interesting bits...

ltrojan-ths avatar Feb 14 '24 19:02 ltrojan-ths

Sometimes a resource may have a sensitive string as part of its output/diff. I'd like to optionally suppress or redact the output of a given resource so it's not echoing secrets all over the place.

danktec avatar Jul 01 '24 21:07 danktec