https://pulumi.com logo
#automation-api
Title
# automation-api
c

clean-zoo-67541

05/28/2023, 4:46 PM
With the pulumi CLI, pulumi up gives informative output on plugin installs e.g.:
Copy code
Downloading plugin: 158.80 MiB / 158.80 MiB [====================] 100.00% XmYs
[resource plugin aws-5.40.0] installing
However, when using the automation api with
optup.ProgressStreams
, I'm only getting this output:
Copy code
@ updating.....................................................................
for as long as it takes plugins to install. Is there a way to get the same more verbose output with the automation API? Thanks!
Bumping this question in case anyone knows 🙏 With the pulumi CLI, pulumi up gives informative output on plugin installs e.g.:
Copy code
Downloading plugin: 158.80 MiB / 158.80 MiB [====================] 100.00% XmYs
[resource plugin aws-5.40.0] installing
However, when using the automation api with
optup.ProgressStreams
, I'm only getting this output:
Copy code
@ updating.....................................................................
for as long as it takes plugins to install. Is there a way to get the same more verbose output with the automation API? Thanks!
l

lemon-agent-27707

06/19/2023, 5:46 PM
This info must be suppressed for non-interactive mode. Would you mind opening an issue? github.com/pulumi/pulumi/issues
c

clean-zoo-67541

06/20/2023, 8:49 AM
will do 🙂 Thanks! Do you think I could build a workaround using interactive mode? perhaps by calling InstallPlugins directly?
l

lemon-agent-27707

06/20/2023, 4:52 PM
There are workspace level methods for installing plugins manually, you could try that! The other thing you could investigate is the engine event stream. This is the raw source that the CLI renderer uses, but the events are very very low level.
6 Views