pulumi state delete <resource URN>

Deletes a resource from a stack’s state

Arguments

NameDescription
resource URN

Options

NameDescription
--color <mode>Colorize output. Choices are: always, never, raw, auto (default "auto")
-C, --cwd <path>Run pulumi as if it had been started in another directory
--disable-integrity-checkingDisable integrity checking of checkpoint files
-e, --emojiEnable emojis in the output
--logflowFlow log settings to child processes (like plugins)
--logtostderrLog to stderr instead of to files
--non-interactiveDisable interactive mode for all commands
--profilingEmit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively
--tracing <file>Emit tracing to the specified endpoint. Use the file: scheme to write tracing data to a local file
-v, --verbose <int>Enable verbose logging (e.g., v=3); anything >3 is very verbose
-s, --stack <stack-name>The name of the stack to operate on. Defaults to the current stack
-y, --yes
  • Dangerous 💥
--force <stack-name>Force deletion of protected resources