Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

[Learn] Abstraction and Encapsulation pathway (#875) * feat(pathway): add initial scaffolding for new pathway * feat(intro): adding in the draft intro for the pathway * feat(scaffold): add scaffolding of pathway * feat(content): add more content * feat(content): add more content to the pathway * feat(components): adjust to work with component resources * feat(abstraction): add diagram * revert(accident): revert accidental commit * fix(lint): patch trailing spaces * fix(lint): another one * fix(code): stop coding half-asleep on flights; fixing error * fix(derp): remove leftover text * feat(meta): add forgotten meta image * Apply suggestions from code review Accepting first round. Co-authored-by: Josh Kodroff <jkodroff@users.noreply.github.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update from review * fix(review): update to match review * fix(review): add more review responses * fix(review): add more updates based on review; move around the components * fix(review): add a bit more from review * fix(lint): fix whitespace and missing transition line * fix(handling): forgot to update error handling; fixing based on review * fix(wording): patch from review * fix(review): add the last of the review stuff * fix(review): add final fixes from review * Update themes/default/content/learn/abstraction-encapsulation/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(meta): update meta images * fix(line): add empty line to make markdown happy * fix(review): wording patch * fix(review): add comments to code for better readability * fix(review): add links and examples Co-authored-by: Josh Kodroff <jkodroff@users.noreply.github.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2022-01-27 15:34:55 -06:00
---
2023-03-14 11:25:48 -07:00
title_tag: Abstraction & Encapsulation Overview | Learn Pulumi
[Learn] Abstraction and Encapsulation pathway (#875) * feat(pathway): add initial scaffolding for new pathway * feat(intro): adding in the draft intro for the pathway * feat(scaffold): add scaffolding of pathway * feat(content): add more content * feat(content): add more content to the pathway * feat(components): adjust to work with component resources * feat(abstraction): add diagram * revert(accident): revert accidental commit * fix(lint): patch trailing spaces * fix(lint): another one * fix(code): stop coding half-asleep on flights; fixing error * fix(derp): remove leftover text * feat(meta): add forgotten meta image * Apply suggestions from code review Accepting first round. Co-authored-by: Josh Kodroff <jkodroff@users.noreply.github.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update from review * fix(review): update to match review * fix(review): add more review responses * fix(review): add more updates based on review; move around the components * fix(review): add a bit more from review * fix(lint): fix whitespace and missing transition line * fix(handling): forgot to update error handling; fixing based on review * fix(wording): patch from review * fix(review): add the last of the review stuff * fix(review): add final fixes from review * Update themes/default/content/learn/abstraction-encapsulation/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(meta): update meta images * fix(line): add empty line to make markdown happy * fix(review): wording patch * fix(review): add comments to code for better readability * fix(review): add links and examples Co-authored-by: Josh Kodroff <jkodroff@users.noreply.github.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2022-01-27 15:34:55 -06:00
title: "Abstraction and Encapsulation"
layout: module
date: 2021-11-17
description: |
Explore abstraction and encapsulation with Pulumi and component resources.
2023-03-14 11:25:48 -07:00
meta_desc: In this tutorial, we will explore using Pulumi to abstract and encapsulate your resource definitions as reusable models for others to use.
[Learn] Abstraction and Encapsulation pathway (#875) * feat(pathway): add initial scaffolding for new pathway * feat(intro): adding in the draft intro for the pathway * feat(scaffold): add scaffolding of pathway * feat(content): add more content * feat(content): add more content to the pathway * feat(components): adjust to work with component resources * feat(abstraction): add diagram * revert(accident): revert accidental commit * fix(lint): patch trailing spaces * fix(lint): another one * fix(code): stop coding half-asleep on flights; fixing error * fix(derp): remove leftover text * feat(meta): add forgotten meta image * Apply suggestions from code review Accepting first round. Co-authored-by: Josh Kodroff <jkodroff@users.noreply.github.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update from review * fix(review): update to match review * fix(review): add more review responses * fix(review): add more updates based on review; move around the components * fix(review): add a bit more from review * fix(lint): fix whitespace and missing transition line * fix(handling): forgot to update error handling; fixing based on review * fix(wording): patch from review * fix(review): add the last of the review stuff * fix(review): add final fixes from review * Update themes/default/content/learn/abstraction-encapsulation/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(meta): update meta images * fix(line): add empty line to make markdown happy * fix(review): wording patch * fix(review): add comments to code for better readability * fix(review): add links and examples Co-authored-by: Josh Kodroff <jkodroff@users.noreply.github.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2022-01-27 15:34:55 -06:00
index: 6
meta_image: meta.png
level: intermediate
youll_learn:
- Encapsulating Pulumi components
- Making reusable abstractions
- Building your own resources
tags:
- learn
- components
providers:
- aws
---
## Time
How long this tutorial will take depends on your internet connection, reading speed, and other factors. On average, this tutorial should take you about 25 minutes to complete.
## Prerequisites
You will need the following knowledge to complete this pathway:
- Completion of the [Pulumi Fundamentals](/learn/pulumi-fundamentals/) and [Building with Pulumi](/learn/building-with-pulumi/) pathways, OR have experience using Pulumi for other projects
[Learn] Abstraction and Encapsulation pathway (#875) * feat(pathway): add initial scaffolding for new pathway * feat(intro): adding in the draft intro for the pathway * feat(scaffold): add scaffolding of pathway * feat(content): add more content * feat(content): add more content to the pathway * feat(components): adjust to work with component resources * feat(abstraction): add diagram * revert(accident): revert accidental commit * fix(lint): patch trailing spaces * fix(lint): another one * fix(code): stop coding half-asleep on flights; fixing error * fix(derp): remove leftover text * feat(meta): add forgotten meta image * Apply suggestions from code review Accepting first round. Co-authored-by: Josh Kodroff <jkodroff@users.noreply.github.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update from review * fix(review): update to match review * fix(review): add more review responses * fix(review): add more updates based on review; move around the components * fix(review): add a bit more from review * fix(lint): fix whitespace and missing transition line * fix(handling): forgot to update error handling; fixing based on review * fix(wording): patch from review * fix(review): add the last of the review stuff * fix(review): add final fixes from review * Update themes/default/content/learn/abstraction-encapsulation/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(meta): update meta images * fix(line): add empty line to make markdown happy * fix(review): wording patch * fix(review): add comments to code for better readability * fix(review): add links and examples Co-authored-by: Josh Kodroff <jkodroff@users.noreply.github.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2022-01-27 15:34:55 -06:00
Optionally, if you want to build some of the examples yourself to experiment, you'll need the following tools and skills:
- A [Pulumi account and token](/docs/pulumi-cloud/accounts#access-tokens)
- If you don't have an account, go to the [signup page](https://app.pulumi.com/signup).
- The [Pulumi CLI](/docs/cli/commands/)
- If you don't have the CLI, go to the [installation page](/docs/install/).
[Learn] Abstraction and Encapsulation pathway (#875) * feat(pathway): add initial scaffolding for new pathway * feat(intro): adding in the draft intro for the pathway * feat(scaffold): add scaffolding of pathway * feat(content): add more content * feat(content): add more content to the pathway * feat(components): adjust to work with component resources * feat(abstraction): add diagram * revert(accident): revert accidental commit * fix(lint): patch trailing spaces * fix(lint): another one * fix(code): stop coding half-asleep on flights; fixing error * fix(derp): remove leftover text * feat(meta): add forgotten meta image * Apply suggestions from code review Accepting first round. Co-authored-by: Josh Kodroff <jkodroff@users.noreply.github.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update from review * fix(review): update to match review * fix(review): add more review responses * fix(review): add more updates based on review; move around the components * fix(review): add a bit more from review * fix(lint): fix whitespace and missing transition line * fix(handling): forgot to update error handling; fixing based on review * fix(wording): patch from review * fix(review): add the last of the review stuff * fix(review): add final fixes from review * Update themes/default/content/learn/abstraction-encapsulation/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(meta): update meta images * fix(line): add empty line to make markdown happy * fix(review): wording patch * fix(review): add comments to code for better readability * fix(review): add links and examples Co-authored-by: Josh Kodroff <jkodroff@users.noreply.github.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2022-01-27 15:34:55 -06:00
- An AWS account (the free version should be fine)
- Familiarity with either the TypeScript or Python programming language
[Learn] Abstraction and Encapsulation pathway (#875) * feat(pathway): add initial scaffolding for new pathway * feat(intro): adding in the draft intro for the pathway * feat(scaffold): add scaffolding of pathway * feat(content): add more content * feat(content): add more content to the pathway * feat(components): adjust to work with component resources * feat(abstraction): add diagram * revert(accident): revert accidental commit * fix(lint): patch trailing spaces * fix(lint): another one * fix(code): stop coding half-asleep on flights; fixing error * fix(derp): remove leftover text * feat(meta): add forgotten meta image * Apply suggestions from code review Accepting first round. Co-authored-by: Josh Kodroff <jkodroff@users.noreply.github.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update from review * fix(review): update to match review * fix(review): add more review responses * fix(review): add more updates based on review; move around the components * fix(review): add a bit more from review * fix(lint): fix whitespace and missing transition line * fix(handling): forgot to update error handling; fixing based on review * fix(wording): patch from review * fix(review): add the last of the review stuff * fix(review): add final fixes from review * Update themes/default/content/learn/abstraction-encapsulation/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(meta): update meta images * fix(line): add empty line to make markdown happy * fix(review): wording patch * fix(review): add comments to code for better readability * fix(review): add links and examples Co-authored-by: Josh Kodroff <jkodroff@users.noreply.github.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2022-01-27 15:34:55 -06:00
## About this pathway
In this pathway, 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.