mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-10 15:55:42 +02:00
pulumi-state: add page (#15736)
This commit is contained in:
parent
f1cf31581a
commit
d7f135dbdb
1 changed files with 24 additions and 0 deletions
24
pages/common/pulumi-state.md
Normal file
24
pages/common/pulumi-state.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# 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`
|
Loading…
Add table
Reference in a new issue