Abstraction and Encapsulation
In this tutorial, we will explore how you can use Pulumi as a tool to help you abstract and encapsulate your resource definitions as reusable models for others to use.
- Identifying opportunities for abstraction and reuse
- Understanding encapsulation
- Building Pulumi component resources
- The Pulumi CLI
- A Pulumi Cloud account and an access token
- An AWS account (all resources in this tutorial are eligible for the free-tier)
- Familiarity with JavaScript, TypeScript, or Python
- A Docker service installed and running locally
Topics
This tutorial has 3 topics and takes about 25 minutes to complete.- 15 min
Abstracting Pulumi Code
Learn more about abstracting Pulumi code into classes, models, and objects. - 210 min
Understanding Encapsulation
Explore encapsulation of cloud resources with Pulumi. - 310 min
Building a Component Resource
Try creating a component resource, or a logical grouping of code that Pulumi recognizes as a resource.