Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 2.47 KB

pulumi.md

File metadata and controls

56 lines (40 loc) · 2.47 KB

Pulumi Pulumi Logo

About

The intent behind Pulumi is to provide developers with a native infrastructure as code experience within the language they are accustomed to. The desire is to reduce the learning curve as well as integrating the IaC experience into native tooling.

Currently Pulumi supports the following languages/filetypes:

  • TypeScript
  • Python
  • Go
  • C#
  • Java
  • YAML

Some Pointers

  • Manage remote resource definition via Pulumi Service
  • "Modules" are defined and hosted in npm packages
  • Still considered the "new kid" on the block
  • Open source
  • Can use native code formatters

How It Works

CLI will query the Pulumi service for last deployed state to determine creates, updates, deletes

Diagram of Pulumi service engine

Source From: Pulumi Documentation

PreReqs

Stacks

Pulumi stacks are isolated and independent instances of the Pulumi code. Usually this translates into environment configurations. Thus passing --stack or -s denotes which YAML fill to pull in and populate the deployment.

More Information on Pulumi Stacks

Validating Changes

To view changes proposed by Pulumi need to run pulumi preview --stack dev from within the folder the Pulumi code is in.

For more information check out the Pulumi preview command

Deploying

Deployment for these examples are done at the Subscription level. This is done to ensure full deployment by creating the required Resource Group.

pulumi up --stack dev

For more information and options check out the documentation on Pulumi up command

Links