https://pulumi.com logo
#general
Title
# general
g

gentle-application-59272

02/26/2024, 12:44 PM
is there any technique to always suppress pulumi outputs, such that i don't need to pass
--suppress-outputs
all the time?
g

great-sunset-355

02/26/2024, 3:07 PM
not really, there are a lot of feature requests for it https://github.com/pulumi/pulumi/issues/11828 I'd prefer outputs as opt in rather than opt out
g

gentle-application-59272

02/26/2024, 3:08 PM
i agree actually
they're almost always just noise
g

great-sunset-355

02/26/2024, 3:14 PM
I do not use outputs in general, only if it's necessary, I try to avoid connecting stack via stack references because it is incredibly slow and fragile.
g

gentle-application-59272

02/26/2024, 3:20 PM
how do you share state from one stack to another, then
g

great-sunset-355

02/27/2024, 6:21 AM
You do not. Use lookups (get_<resource>) functions from a common library.
g

gentle-application-59272

02/27/2024, 6:22 AM
will have a think about it
perhaps naming conventions & tagging will need to be enriched