mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-02 23:15:25 +02:00
25 lines
487 B
Markdown
25 lines
487 B
Markdown
![]() |
# pulumi state
|
||
|
|
||
|
> Edit the current stack's state.
|
||
|
> More information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_state/>.
|
||
|
|
||
|
- Delete a resource from the current stack's state:
|
||
|
|
||
|
`pulumi state delete`
|
||
|
|
||
|
- Move a resource from the current stack to another:
|
||
|
|
||
|
`pulumi state move {{resource_urn}} --dest {{stack_name}}`
|
||
|
|
||
|
- Rename a resource in the current stack's state:
|
||
|
|
||
|
`pulumi state rename`
|
||
|
|
||
|
- Repair an invalid state:
|
||
|
|
||
|
`pulumi state repair`
|
||
|
|
||
|
- Display help:
|
||
|
|
||
|
`pulumi state --help`
|