In Terraform, what is the purpose of the `terraform state mv` command?
-
A
Delete a resource from the state file
-
B
Move a resource to a different state file or rename it within state
-
C
Import an existing resource into Terraform management
-
D
Refresh the state file to match real infrastructure