tofu state rm
tofu state rm <address>
Risk: Careful
What it does
Makes OpenTofu forget a thing. The real thing stays, but nobody manages it any more.
When to use it
Rarely. Prefer a removed block, so the change gets a plan and a review.
Example
$ tofu state rm local_file.signForget the sign. The next plan wants to build it again.
Learn it in: state list, show and rm · Official docs