1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 00:55:30 +02:00
tldr/pages/common/pulumi.md
Nelson Figueroa e138b0f8d2
pulumi: add login --local example (#13533)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-08-31 21:54:06 +02:00

33 lines
743 B
Markdown

# pulumi
> Define infrastructure on any cloud using familiar programming languages.
> Some subcommands such as `pulumi up` have their own usage documentation.
> More information: <https://www.pulumi.com/docs/cli>.
- Create a new project using a template:
`pulumi new`
- Create a new stack using an isolated deployment target:
`pulumi stack init`
- Configure variables (e.g. keys, regions, etc.) interactively:
`pulumi config`
- Preview and deploy changes to a program and/or infrastructure:
`pulumi up`
- Preview deployment changes without performing them (dry-run):
`pulumi preview`
- Destroy a program and its infrastructure:
`pulumi destroy`
- Use Pulumi locally, independent of a Pulumi Cloud:
`pulumi login {{-l|--local}}`