Skip to main content

Embedding Pulumi

In this tutorial, we will explore how you could use Pulumi as an API for your infrastructure deployment and maintenance.

Note that this tutorial will not have a specific application and infrastructure to stand up. Rather, we're exploring the Pulumi system, so you can use either a code example of your own or one of ours.

What you'll learn
  • What the Pulumi Automation API is and how to use it
  • How to embed Pulumi in a Python program to drive deployments programmatically
  • Logging and error handling
Prerequisites

Topics

This tutorial has 4 topics and takes about 40 minutes to complete.
  1. 1

    Getting Started

    Set up your local system to start building a working example of the Automation API.
    5 min
  2. 2

    Building a Custom API

    Build your first encapsulation of the Pulumi CLI with Pulumi's Automation API.
    10 min
  3. 3

    Understanding Logging and Error Handling

    Explore why it's important to consider logging and error handling when using the Automation API.
    10 min
  4. 4

    Using the Custom API

    Explore uses of the Automation API with some working examples and possible additional builds to try.
    15 min
Get started

Related

The infrastructure as code platform for any cloud.