Skip to main content

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.

What you'll learn
  • Identifying opportunities for abstraction and reuse
  • Understanding encapsulation
  • Building Pulumi component resources
Prerequisites

Topics

This tutorial has 3 topics and takes about 25 minutes to complete.
  1. 1

    Abstracting Pulumi Code

    Learn more about abstracting Pulumi code into classes, models, and objects.
    5 min
  2. 2

    Understanding Encapsulation

    Explore encapsulation of cloud resources with Pulumi.
    10 min
  3. 3

    Building a Component Resource

    Try creating a component resource, or a logical grouping of code that Pulumi recognizes as a resource.
    10 min
Get started

Related

The infrastructure as code platform for any cloud.