LinuxCommandLibrary

pulumi

TLDR

Create new project

$ pulumi new [template]
copy
Preview changes
$ pulumi preview
copy
Deploy stack
$ pulumi up
copy
Destroy resources
$ pulumi destroy
copy
List stacks
$ pulumi stack ls
copy
Select stack
$ pulumi stack select [stack-name]
copy
Show stack outputs
$ pulumi stack output
copy

SYNOPSIS

pulumi [options] command [args]

DESCRIPTION

pulumi is an infrastructure as code tool supporting multiple programming languages. It manages cloud resources using TypeScript, Python, Go, C#, Java, and YAML.
The tool provisions resources across AWS, Azure, GCP, Kubernetes, and many other providers using familiar programming constructs.

PARAMETERS

new

Create new project.
up
Deploy changes.
preview
Preview changes.
destroy
Delete resources.
stack
Manage stacks.
config
Manage configuration.
logs
View logs.
-s stack
Target stack.
-y, --yes
Skip confirmations.
--diff
Show detailed diff.

CAVEATS

Requires Pulumi account or self-hosted backend. State management important. Provider plugins downloaded on first use. Learning curve for programming approach.

HISTORY

Pulumi was founded by Joe Duffy and Eric Rudder in 2017. It brought general-purpose programming languages to infrastructure management, differentiating from domain-specific languages like Terraform's HCL.

SEE ALSO

terraform(1), aws(1), kubectl(1), cdktf(1)

Copied to clipboard