Pulumi Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 23: Line 23:
{{External|https://www.pulumi.com/docs/intro/concepts/stack/}}
{{External|https://www.pulumi.com/docs/intro/concepts/stack/}}
A stack is an isolated, independently configurable instance of a Pulumi [[#Program|program]]. Stacks are commonly used to denote different phases of development, such as "development", "staging" and "production", or feature branches. A [[#Project|project]] can have an arbitrary number of stacks. By default, Pulumi creates a new stack per project when <code>[[Pulumi_Operations#New_Project|pulumi new]]</code> is used.
A stack is an isolated, independently configurable instance of a Pulumi [[#Program|program]]. Stacks are commonly used to denote different phases of development, such as "development", "staging" and "production", or feature branches. A [[#Project|project]] can have an arbitrary number of stacks. By default, Pulumi creates a new stack per project when <code>[[Pulumi_Operations#New_Project|pulumi new]]</code> is used.
==Active Stack==
==Stack References==
==Stack References==
{{External|https://www.pulumi.com/docs/intro/concepts/stack/#stackreferences}}
{{External|https://www.pulumi.com/docs/intro/concepts/stack/#stackreferences}}

Revision as of 20:45, 7 January 2022

Internal

TODO

Overview

Pulumi is an Infrastructure as Code platform that allows using common programming languages, tools, and frameworks, to provision, update, and manage cloud infrastructure resources. Pulumi is one of the tools that can be used to manage generic Infrastructure as Code stacks.

Pulumi vs Terraform

https://www.pulumi.com/docs/intro/vs/terraform/

Also see:

Terraform

Program

A program describes how the cloud infrastructure should be composed. It can be written in Python, TypeScript or Go. Infrastructure is declared by allocating resource objects whose properties correspond to the desire state of the infrastructure. It is recommended to group resource with common lifecycles together.

Supported Programming Languages

https://www.pulumi.com/docs/intro/languages/

Organization

Project

https://www.pulumi.com/docs/intro/concepts/project/#projects

Resource

Stack

https://www.pulumi.com/docs/intro/concepts/stack/

A stack is an isolated, independently configurable instance of a Pulumi program. Stacks are commonly used to denote different phases of development, such as "development", "staging" and "production", or feature branches. A project can have an arbitrary number of stacks. By default, Pulumi creates a new stack per project when pulumi new is used.

Active Stack

Stack References

https://www.pulumi.com/docs/intro/concepts/stack/#stackreferences

Inputs and Outputs

https://www.pulumi.com/docs/intro/concepts/inputs-outputs/

Stack Output

Stack outputs can be shared with other teams.

State and Backends

https://www.pulumi.com/docs/intro/concepts/state/

Backend

Name

URL

Authentication and Identity

The backend decides what a user can and cannot see, for example organizations, based on user's OD group configuration. A user's OD group list, as known by the Pulumi backend, is given by pulumi whoami --verbose.

Service Backend

Configuration

https://www.pulumi.com/docs/intro/concepts/config/#configuration

Template

Secrets

https://www.pulumi.com/docs/intro/concepts/secrets/