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

343 lines
7.2 KiB
Markdown
Raw Permalink Normal View History

Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
---
2023-03-14 11:25:48 -07:00
title_tag: Creating a Pulumi Project | Learn Pulumi
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
title: "Creating a Pulumi Project"
layout: topic
date: 2021-09-10T12:00:00-05:00
draft: false
description: To get started, create your first Pulumi project using the CLI.
2023-03-14 11:25:48 -07:00
meta_desc: Learn how to get started with Pulumi by creating your first Pulumi project using the Pulumi CLI in this tutorial.
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
index: 0
estimated_time: 5
meta_image: meta.png
authors:
- sophia-parafina
- laura-santamaria
tags:
- fundamentals
- projects
- docker
---
Infrastructure in Pulumi is organized into _projects_. In the Pulumi ecosystem,
a project represents a Pulumi _program_ that, when run, declares the desired
infrastructure for Pulumi to manage. The program has corresponding _stacks_, or
isolated, independently configurable instances of your Pulumi program. We'll
talk more about stacks later in the [Building with
Pulumi](/learn/building-with-pulumi) pathway.
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
## Create a directory
Each Pulumi project lives in its own directory. Create one now and change into
it by running these commands in your terminal:
```bash
2022-05-03 21:23:32 -07:00
mkdir my_first_app
cd my_first_app
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
```
Pulumi will use the directory name as your project name by default. To create an
independent project, name the directory differently.
## Initialize your project
Since a Pulumi project is just a directory with some files in it, it is possible
for you to create a new one by hand. The `pulumi new` command-line interface
(CLI) command, however, automates the process and ensures you have everything
you need, so let's use that command. The `-y` flag answers "yes" to the prompts to
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
create a default project:
{{< chooser language "typescript,python,go,csharp,java,yaml" / >}}
{{% choosable language typescript %}}
```bash
$ pulumi new typescript -y
```
{{% /choosable %}}
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
{{% choosable language python %}}
```bash
$ pulumi new python -y
```
{{% /choosable %}}
{{% choosable language go %}}
```bash
$ pulumi new go -y
```
{{% /choosable %}}
{{% choosable language csharp %}}
```bash
$ pulumi new csharp -y
```
{{% /choosable %}}
2022-05-03 21:23:32 -07:00
{{% choosable language java %}}
```bash
$ pulumi new java-gradle --dir my_first_app --name my_first_app -y
```
{{% /choosable %}}
{{% choosable language yaml %}}
```bash
$ pulumi new yaml -y
```
{{% /choosable %}}
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
This command prints output similar to the following example with a bit more
information and status as it goes:
{{% choosable language typescript %}}
```bash
2022-05-03 21:23:32 -07:00
Created project 'my_first_app'
# ...
Installing dependencies...
2022-05-03 21:23:32 -07:00
# ...
Finished installing dependencies
Your new project is ready to go! ✨
To perform an initial deployment, run 'pulumi up'
```
{{% /choosable %}}
{{% choosable language python %}}
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
```bash
2022-05-03 21:23:32 -07:00
Created project 'my_first_app'
# ...
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
Created stack 'dev'
Creating virtual environment...
2022-05-03 21:23:32 -07:00
# ...
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
Finished creating virtual environment
Updating pip, setuptools, and wheel in virtual environment...
2022-05-03 21:23:32 -07:00
# ...
Your new project is ready to go! ✨
To perform an initial deployment, run 'pulumi up'
```
{{% /choosable %}}
{{% choosable language go %}}
```bash
Created project 'my-first-app'
# ...
Installing dependencies...
# ...
Finished installing dependencies
Your new project is ready to go! ✨
To perform an initial deployment, run 'pulumi up'
```
{{% /choosable %}}
{{% choosable language csharp %}}
```bash
Created project 'my_first_app'
Created stack 'dev'
Installing dependencies...
#...
Finished installing dependencies
Your new project is ready to go! ✨
To perform an initial deployment, run 'pulumi up'
```
{{% /choosable %}}
2022-05-03 21:23:32 -07:00
{{% choosable language java %}}
```bash
Created project 'my_first_app'
# ...
Created stack 'dev'
Your new project is ready to go! ✨
To perform an initial deployment, run 'cd my_first_app', then, run 'pulumi up'
```
{{% /choosable %}}
{{% choosable language yaml %}}
```bash
Created project 'my_first_app'
# ...
Created stack 'dev'
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
Your new project is ready to go! ✨
To perform an initial deployment, run 'pulumi up'
```
{{% /choosable %}}
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
This command creates all the files we need, initializes a new stack named `dev`
(an instance of our project), and installs any necessary dependencies.
## Inspect your new project
The basic project created by `pulumi new` is comprised of multiple files:
<!-- This section uses HTML due to an issue with langfile shortcode -->
<ul>
<li><code>Pulumi.yaml</code>: your project's metadata, containing its name and language</li>
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
{{< choosable language typescript >}}
<li>{{< langfile >}}: your program's main entrypoint file</li>
<li><code>package.json</code>: your project's Node.js dependency information</li>
{{< /choosable >}}
{{< choosable language python >}}
<li>{{< langfile >}}: your program's main entrypoint file</li>
<li><code>requirements.txt</code>: your project's Python dependency information</li>
<li><code>venv</code>: a <a href="https://pypi.org/project/virtualenv/">virtualenv</a> for your project</li>
{{< /choosable >}}
{{< choosable language go >}}
<li><code>go.mod</code>: a file that describes the Go program's properties</li>
<li><code>go.sum</code>: a generated file that maintains the checksums for the packages imported by the Go program</li>
<li>{{< langfile >}}: your program's main entrypoint file</li>
{{< /choosable >}}
{{< choosable language java >}}
2022-05-03 21:23:32 -07:00
<li>{{< langfile >}}: your program's main entrypoint file</li>
<li><code>settings.gradle</code>: your project's Gradle settings</li>
<li><code>app/</code>: the app directory generated for Java, which includes the following files:
<ul>
<li><code>build.gradle</code>: your project's build information for Gradle</li>
<li><code>src/main/java/my_first_app/</code>: the directory that holds your main entrypoint file</li>
</ul>
</li>
2022-05-03 21:23:32 -07:00
{{< /choosable >}}
</ul>
2022-05-03 21:23:32 -07:00
{{% choosable language yaml %}}
For YAML, your {{< langfile >}} is also your program's main entrypoint file.
2022-05-03 21:23:32 -07:00
{{% /choosable %}}
Use the command <code>cat</code>{{< langfile >}} to explore the contents of your
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
project's empty program:
{{< chooser language "typescript,python,go,java,yaml" / >}}
{{% choosable language typescript %}}
```typescript
import * as pulumi from "@pulumi/pulumi";
```
{{% /choosable %}}
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
{{% choosable language python %}}
```python
"""A Python Pulumi program"""
import pulumi
```
{{% /choosable %}}
{{% choosable language go %}}
```go
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
```
{{% /choosable %}}
2022-05-03 21:23:32 -07:00
{{% choosable language java %}}
```java
package my_first_app;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
public class App {
public static void main(String[] args) {
Pulumi.run(ctx -> {
ctx.export("exampleOutput", Output.of("example"));
});
}
}
```
{{% /choosable %}}
{{% choosable language yaml %}}
```yaml
name: my_first_app
2022-05-03 21:23:32 -07:00
runtime: yaml
description: A minimal Pulumi YAML program
2022-05-03 21:23:32 -07:00
configuration: {}
variables: {}
resources: {}
outputs: {}
2022-05-03 21:23:32 -07:00
```
{{% /choosable %}}
Feel free to explore the other files.
Launch Learn (#552) * adds initial pass at pulumi in operations learn module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updating pulumi in operations with meta images and minor index updates Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds policy as code * initial add of pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add draft for pulumi in practice tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix draft status on tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Initial commit for pulumi fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add fundamentals starting point * feat(fundamentals): update all content with more learning content and patch things to be clearer * fix(fundamentals): patch up issues with export doc in other docs * fix(fundamentals): patch up fundamentals to match fix to proxy in code * feat(clouds): add new modules for fundamentals * feat(images): add images for fundamentals * Add learn index page diagram and description * Add modules section title * feat(learn meta): update images and metadata for learn now that everything is merged * feat(learn layout): update learn layout * fix(langfile): patch the python part to show dunders * feat(learn): add more updates to learn to smooth the pathways * Some updates for pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * fix typo in new project for fundamentals Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add the aws tutorials and work on the others * add testing module Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Add more testing stuff Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Scaffold azure fundamentals tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add more for aws and add gcp starters * feat(learn): add the lang features module stubs and patch up a bit * WIP azure tutorial Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * removes source control, adds references to boba shop app Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images, congratulations Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * adds images to webhooks module Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates image links, flavor text Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * updates pulumi operations index Signed-off-by: Kat Cosgrove <kat.cosgrove@gmail.com> * Update pulumi in practice Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update with secrets Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * Update secrets topic Signed-off-by: Matt Stratton <matt.stratton@gmail.com> * feat(learn): add back the meta for azure and update docs with aws * feat(fundamentals): add cleanup * fix(links): patch the links for the access tokens for Pulumi * fix(feedback): incorporate any remaining feedback from Lee Z. and Aaron for Fundamentals * fix(envvar): add the env var call for the patch to the tutorial app * fix(practice): update metadata, fix links, and clean up text in Practice * fix(fixup): forgot to save the last one; small fixup * update diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * fix(wording): update wording per feedback * fix(wording): update wording in practice based on feedback * fix(naming): fix the name in the layout * some tweaks to diagram Signed-off-by: susanev <susan.ra.evans@gmail.com> * Change learn nav items (#679) * fix(tests): start fixing the tests tutorial * fix(ops): run initial pass through ops to do some more cleanup after reviews * feat(cloud): remove cloud fundamentals from this branch for later updates * fix(webhooks): update webhooks to start adding boba shop * fix(testing): work on testing file * feat(webhooks): add more content to the webhooks Learn module and tie into boba shop * fix(cicd): fix the ci/cd module since we can't get the boba shop in there right now * fix(accesscontrol): fix up access control to make it clearer about the boba shop app * fix(pac): fix up the policy-as-code to add the tea shop and clean up the examples * fix(link): patch link in practice ending * fix(learn-ops): remove operations per review (bumping to another branch for later) * fix(testing): rewrite testing unit to be less generic * fix(chooser): fix the chooser for the python test examples in Learn * fix(cleanup): clean up the images and rename based on feedback and reviews with only two pathways * fix(wording): patch wording based on missed review * fix(image): hide learn pathway image for now until more pathways are built * fix(menu): patch the menu order to match the current one * fix(css): call class .card instead of .learn-card * feat(feedback): add feedback widget (interim) to Learn * fix(glossary): move glossary links everywhere to footnotes * Update themes/default/content/learn/building-with-pulumi/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/_index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * revert(clean): accidental add of a collision * fix(bots): fix bots call on index * fix(rename): rename topics to tutorials in layouts * fix(review): update based on review (initial run-through; more coming) * fix(consistency): update wording to be consistent * fix(lint): fix linting errors * revert(conflict): revert accidental add of conflicted file * fix(lint): fix lint errors re metadata length * Update themes/default/content/learn/pulumi-fundamentals/create-docker-images/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(review): update to match review suggestions * fix(review): finish updating based on review suggestions * Update themes/default/content/learn/pulumi-fundamentals/configure-and-provision/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * fix(derp): add missing quotation mark Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: susanev <susan.ra.evans@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org>
2021-11-08 16:04:20 -06:00
Let's move on to creating your first real bit of infrastructure with Pulumi:
some Docker images.
<!-- [^1]: [project](https://www.pulumi.com/docs/concepts/glossary/#project) -->
<!-- [^2]: [program](https://www.pulumi.com/docs/concepts/glossary/#program) -->
<!-- [^3]: [stack](https://www.pulumi.com/docs/concepts/glossary/#stack) -->