mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
38 lines
697 B
Plaintext
38 lines
697 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pulumi env
|
|
|
|
> Manage Pulumi environments.
|
|
> More information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_env/>.
|
|
|
|
- List all environments:
|
|
|
|
`pulumi env ls`
|
|
|
|
- Create an environment:
|
|
|
|
`pulumi env init {{environment_name}}`
|
|
|
|
- Set a value in an environment:
|
|
|
|
`pulumi env set {{environment_name}} {{key}} {{value}}`
|
|
|
|
- Edit an environment definition:
|
|
|
|
`pulumi env edit {{environment_name}}`
|
|
|
|
- Delete a value from an environment:
|
|
|
|
`pulumi env rm {{environment_name}} {{key}}`
|
|
|
|
- Delete an environment entirely:
|
|
|
|
`pulumi env rm {{environment_name}}`
|
|
|
|
- Display help:
|
|
|
|
`pulumi env {{[-h|--help]}}`
|