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 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
- Pulumi Fundamentals25 min
- Building with Pulumi — or equivalent practical experience40 min
- The Pulumi CLI
- A Pulumi Cloud account and an access token
- Familiarity with Python
Topics
This tutorial has 4 topics and takes about 40 minutes to complete.- 15 min
Getting Started
Set up your local system to start building a working example of the Automation API. - 210 min
Building a Custom API
Build your first encapsulation of the Pulumi CLI with Pulumi's Automation API. - 310 min
Understanding Logging and Error Handling
Explore why it's important to consider logging and error handling when using the Automation API. - 415 min
Using the Custom API
Explore uses of the Automation API with some working examples and possible additional builds to try.
Related
Blog PostMar 2021
Data Science in the Cloud
Blog PostNov 2020