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.
In this tutorial, you'll learn:
- Identifying opportunities for abstraction and reuse
- Understanding encapsulation
- Building Pulumi component resources
Prerequisites:-
The Pulumi CLI
-
A Pulumi Cloud account and 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.
- Abstracting Pulumi Code 5 minutes
- Understanding Encapsulation 10 minutes
- Building a Component Resource 10 minutes