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

big-glass-16858

06/08/2019, 8:09 AM
Is there a way to redirect the pulumi's stream display outputs to an external ressource (let's say Elastic search or another DB for example) ? I'm actually wrapping the
pulumi
binary with a python script that does the job but it feels very hacky and not secure. anyone have an idea ?
w

white-balloon-205

06/09/2019, 4:43 PM
Other than piping stdout ( possibly in diff mode), not really. We do now have
—json
support, though I believe it waits till completion. That may work for you? Note that you can also retrieve data from the pulumi service if you need to check on the status of a deployment. These REST APIs aren’t yet documented, but are generally stable since we have arbitrarily old CLI clients using them.
b

big-glass-16858

06/11/2019, 12:22 PM
Thanks for the reply, json output is only available on preview command if i'm not mistaken, for now I'm parsing stdout. Thanks.