One thing is unclear about Automation API document...
# automation-api
c
One thing is unclear about Automation API documentation:
Copy code
The Pulumi Automation API is a programmatic interface for running Pulumi programs without the Pulumi CLI. Conceptually, this can be thought of as encapsulating the functionality of the CLI (pulumi up, pulumi preview, pulumi destroy, pulumi stack init, etc.) but with more flexibility. It is a strongly typed and safe way to use Pulumi in embedded contexts such as web servers without having to shell out to a CLI.
...
Note: Automation API requires the Pulumi CLI to be installed and available in your PATH environment variable.