2022-09-25 14:52:54 +02:00
|
|
|
# pulumi
|
|
|
|
|
|
|
|
> Define infrastructure on any cloud using familiar programming languages.
|
2024-10-04 21:14:41 +02:00
|
|
|
> Some subcommands such as `up` have their own usage documentation.
|
2025-01-23 14:23:53 -08:00
|
|
|
> More information: <https://www.pulumi.com/docs/iac/cli/>.
|
2022-09-25 14:52:54 +02:00
|
|
|
|
|
|
|
- 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`
|
2024-08-31 12:54:06 -07:00
|
|
|
|
|
|
|
- Use Pulumi locally, independent of a Pulumi Cloud:
|
|
|
|
|
|
|
|
`pulumi login {{-l|--local}}`
|