What is your checklist before touching state manually?
IntermediateProductionRefactoring, Migration and Drift
Answer
Announce a freeze on the stack, take a backup (terraform state pull > backup.tfstate) and confirm bucket versioning, take the lock (no one else applying), make the smallest change with state mv/rm/import rather than editing JSON, run terraform plan to verify, and record the commands in the ticket.
More on Refactoring, Migration and Drift
What is your workflow for refactoring Terraform safely?IntermediateHow do you rename a resource inside a shared module without breaking consumers?AdvancedHow do you split one state into two without downtime?AdvancedHow do you merge two states?IntermediateHow do you import a large existing environment efficiently?IntermediateHow do you upgrade a major version of the AWS provider?Advanced