pulumi-state
Directly manipulate stack state
TLDR
Delete resource from state
$ pulumi state delete [urn]
Unprotect resource$ pulumi state unprotect [urn]
Rename resource$ pulumi state rename [urn] [new_name]
Upgrade state schema$ pulumi state upgrade
SYNOPSIS
pulumi state command [options]
DESCRIPTION
pulumi state manipulates stack state directly. Use for state surgery when resources need manual removal or modification. Dangerous operations that bypass normal resource lifecycle.
PARAMETERS
delete urn
Remove resource from state.unprotect urn
Remove protection from resource.rename urn name
Rename resource in state.upgrade
Upgrade state schema.-s, --stack name
Target stack.-y, --yes
Skip confirmation.--force
Force operation.
INSTALL
sudo pacman -S pulumi
sudo apk add pulumi
brew install pulumi
nix profile install nixpkgs#pulumi
CAVEATS
Direct state manipulation can cause drift between state and actual infrastructure. Use with caution.
SEE ALSO
pulumi(1), pulumi-stack(1), pulumi-import(1)