commands.sh

pulumi

all

Define infrastructure on any cloud using familiar programming languages. Some subcommands such as `up` have their own usage documentation.

More info →

Subcommands (24)

pulumi about

Print information about the Pulumi environment.

→
pulumi cancel

Cancel a stack's currently running update, if any.

→
pulumi config

Manage configuration of a Pulumi stack.

→
pulumi console

Open a stack in the Pulumi Console (cloud or self-hosted). It gives you instructions to migrate if not available for your backend.

→
pulumi destroy

Destroy all existing resources in a stack.

→
pulumi down

This command is an alias of `pulumi destroy`.

→
pulumi env

Manage Pulumi environments.

→
pulumi import

Import resources into an existing stack. Read syntax for your cloud provider: <https://www.pulumi.com/registry/>.

→
pulumi install

Install packages and plugins for the current program or policy pack.

→
pulumi login

Log in to the Pulumi cloud.

→
pulumi logout

Log out of the Pulumi cloud.

→
pulumi new

Create a new Pulumi project.

→
pulumi org

Manage Pulumi Organization configuration.

→
pulumi plugin

Manage language and resource provider plugins manually. Other commands manage these automatically.

→
pulumi policy

Manage resource policies on Pulumi Cloud (Business Critical) or locally (no organization sub-commands).

→
pulumi preview

Show a preview of updates to a stack's resources.

→
pulumi refresh

Refresh the resources in a stack.

→
pulumi schema

Check a Pulumi package schema for errors. Schema reference: <https://www.pulumi.com/docs/iac/extending-pulumi/schema/>.

→
pulumi stack

Manage stacks and view stack state.

→
pulumi state

Edit the current stack's state.

→
pulumi up

Create or update the resources in a stack.

→
pulumi update

This command is an alias of `pulumi up`.

→
pulumi version

Display Pulumi's version number.

→
pulumi whoami

Print information about the currently logged in user.

→

Options (1)

-l, --localboolean

Use Pulumi locally, independent of a Pulumi Cloud

Example: pulumi login {{[-l|--local]}}

Examples (7)

Create a new project using a template

Create a new stack using an isolated deployment target

Configure variables (e.g. keys, regions, etc.) interactively

Preview and deploy changes to a program and/or infrastructure

Preview deployment changes without performing them (dry-run)

Destroy a program and its infrastructure

Use Pulumi locally, independent of a Pulumi Cloud

pulumi login [-l|--local]
made by @shridhargupta | data from tldr-pages