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.
In this tutorial, 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:-
The Pulumi CLI
-
A Pulumi Cloud account and access token
-
Familiarity with Python
-
Completion of Pulumi Fundamentals and Building with Pulumi or practical experience
Topics
This tutorial has 4 topics and takes about 40 minutes to complete.
- Getting Started 5 minutes
- Building a Custom API 10 minutes
- Understanding Logging and Error Handling 10 minutes
- Using the Custom API 15 minutes