snippetbashTip
pulumi — Define infrastructure on any cloud using familiar programming languages. Some subcommands such as `u
Viewed 0 times
commandinfrastructureanyclouddefinecliusingpulumi
Problem
How to use the
pulumi command: Define infrastructure on any cloud using familiar programming languages. Some subcommands such as up have their own usage documentation. More information: <https://www.pulumi.com/docs/iac/cli/>.Solution
pulumi — Define infrastructure on any cloud using familiar programming languages. Some subcommands such as up have their own usage documentation. More information: <https://www.pulumi.com/docs/iac/cli/>.Create a new project using a template:
pulumi newCreate a new stack using an isolated deployment target:
pulumi stack initConfigure variables (e.g. keys, regions, etc.) interactively:
pulumi configPreview and deploy changes to a program and/or infrastructure:
pulumi upPreview deployment changes without performing them (dry-run):
pulumi previewDestroy a program and its infrastructure:
pulumi destroyUse Pulumi locally, independent of a Pulumi Cloud:
pulumi login {{[-l|--local]}}Code Snippets
Create a new project using a template
pulumi newCreate a new stack using an isolated deployment target
pulumi stack initConfigure variables (e.g. keys, regions, etc.) interactively
pulumi configPreview and deploy changes to a program and/or infrastructure
pulumi upPreview deployment changes without performing them (dry-run)
pulumi previewContext
tldr-pages: common/pulumi
Revisions (0)
No revisions yet.