tofu state mv
tofu state mv <from> <to>
Risk: Careful
What it does
Renames a thing inside the register only. Nothing real changes.
When to use it
Rarely. A moved block does the same in a plan the team can review.
Example
$ tofu state mv random_pet.stall random_pet.chefThe stall is now called chef in the register.
Learn it in: moved blocks and refactors · Official docs