Im using the pulumi automation api, is there a way...
# general
s
Im using the pulumi automation api, is there a way to turn the stdoutput into json? currently I do it like this:
Copy code
stdoutStreamer := optup.ProgressStreams(os.Stdout)
    _, err = stack.Up(context.Background(), stdoutStreamer)
    if err != nil {
        log.Fatalf("Failed to update stack: %v\n\n", err)
    }
Is there any simple and easy way to have the output formated in JSON? thanks. Slack Conversation