snippetbashTip
pulumi state — Edit the current stack's state. More information: <https://www.pulumi.com/docs/iac/cli/commands/pulu
Viewed 0 times
thepulumi statecurrentcommandstackstatecliedit
Problem
How to use the
pulumi state command: Edit the current stack's state. More information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_state/>.Solution
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 deleteMove 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 renameRepair an invalid state:
pulumi state repairEdit a stack's state in the editor specified by the
$EDITOR environment variable:pulumi state edit --stack {{stack_name}}Display help:
pulumi state {{[-h|--help]}}Code Snippets
Delete a resource from the current stack's state
pulumi state deleteMove 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 renameRepair an invalid state
pulumi state repairEdit a stack's state in the editor specified by the `$EDITOR` environment variable
pulumi state edit --stack {{stack_name}}Context
tldr-pages: common/pulumi state
Revisions (0)
No revisions yet.