How does the Pulumi automation lib actually work? ...
# general
b
How does the Pulumi automation lib actually work? I could go hunting down the source, but I figured someone here maybe knew. Does it just interact with the
pulumi
binary with
json
output, or is there a way to run the binary in an apiserver mode or somesuch?
e
It's just a wrapper over the CLI making heavy use of the
--json
options for commands that support that. There is a plan for an automation v2 where we'd actually run the CLI in a grpc server mode and use grpc/protobuf for all communication instead.