@dry-sugar-28823 the Automation API allows you to embed Pulumi's power into bigger automations. Here is something I build for a company (before I joined Pulumi): the company had a medical imaging product. They wanted to bring this online, but it wasn't multi-tenant. So for each customer they had to spin up some infrastructure. I worked with an integrator of their ERP system, which adapted the sales flow in the ERP system. When a customer bought their product, at a certain step in the flow, the ERP system called my custom REST API with customer details, license type (SKU), etc. My custom REST server used a
workflow engine which rolled out the infrastructure in a number of steps. I spare you the complexity, but I had workflow steps in code, where I used the Automation API to integrate the workflow engine with Pulumi. At every step in this setup, I had code I could (unit) test rather than shell scripts.
For the business, this spared the OPS team from a ticket system with requests to set up customer tenants.
Small example of the workflow engine linked above with Pulumi Automation API:
https://github.com/mikhailshilkov/pulumi-temporal-workflow