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 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.
Automation API allows you to embed Pulumi within your application code, making it easy to create custom experiences on top of Pulumi that are tailored to your use-case, domain, and team.
To learn how to use Automation API, see Getting Started with Automation API.
The following examples demonstrate how to use Automation API in various use cases.
Visit the examples repo for more code examples and links to projects using Automation API.
For more ideas of what’s possible with Automation API, check out some of the ways we and community members use it in different use cases.