https://pulumi.com logo
f

full-dress-10026

09/28/2018, 10:44 PM
Is there a way to get all stack outputs as a json map?
m

microscopic-florist-22719

09/28/2018, 10:46 PM
Not currently. https://github.com/pulumi/pulumi/issues/1863 tracks adding support for this; we're hoping to get to it sooner rather than later.
f

full-dress-10026

09/28/2018, 10:48 PM
That is exactly what I need. I 👍 'ed it and subscribed. Looking forward to that one.
b

big-piano-35669

09/29/2018, 3:32 AM
We recently decided to invest more heavily in "toolability" of our CLI generally. To kick it off, I implemented this as a first step tonight: https://github.com/pulumi/pulumi/pull/2000. Just need to write some tests in the AM, and then we should be able to get it out in a new CLI drop next week.
f

full-dress-10026

09/29/2018, 2:04 PM
That looks perfect!
b

big-piano-35669

09/29/2018, 4:59 PM
Just FYI, this has been merged in. You can use it if you switch to a dev build, but in either case, we will be cutting a new release this or next week.
Btw, if you run into any other areas where you think "gosh if only this were formatted in a structured way," let me know. As I mentioned, lots of folks are finding new ways to automate and script the CLI, so we always love hearing about these scenarios, and will be focused on enabling them.
f

full-dress-10026

09/29/2018, 6:34 PM
Will try it out on Monday! I’ll keep my eye out for cases where output could be structured. Thanks 😃
@big-piano-35669 Which dev build has this feature?