Hey folks! Another update on automation API - thi...
# announcements
r
Hey folks! Another update on automation API - this time for Go and Nodejs. I just merged 6436 and 6454, which will add the ability to stream structured json events for
Stack.Up()
,
Stack.Preview()
,
Stack.Refresh()
and
Stack.Destroy()
. For Go, you will now be able to pass in an array of channels to receive events via the
EventStreams
option. Take a look at the included tests for an example of this in use. For Nodejs, you will be able to pass an
onEvent
event handler option. Take a look at the included tests for an example of this in use. These changes will be included in the upcoming minor version release (next week). Please note: for Go’s
Stack.Preview()
, this is a breaking change as we have changed the shape of the
PreviewResult
struct to align with the other commands, meaning that you can now use
ProgressStreams
for incremental output just like in
Up
,
Destroy
and
Refresh
. Please take a look at the CHANGELOG in the release or the PR description for specific details on what has changed. Support for other languages will follow shortly: • python is under development • we would welcome contributions for C# if anyone feels inspired!
partypus 6
partypus 8bit 6
a
One which channel should automation API be discussed?
r
#automation-api