Complete the code to move a Terraform resource state from old to new address.
terraform state mv [1] new_resource_nameThe terraform state mv command requires the current resource address as the first argument to move it to a new address.
Complete the code to move the resource state to a new module path.
terraform state mv old_resource_name [1]The new address should include the module path if the resource is moved inside a module.
Fix the error in the command to move a resource state to a new name.
terraform state mv [1] new_resource_nameThe command requires the current resource address as the first argument, not another Terraform command.
Fill both blanks to move a resource from root to a nested module.
terraform state mv [1] [2]
The first blank is the current resource address, the second is the new nested module address.
Fill both blanks to move and rename a resource inside a module.
terraform state mv [1] [2]
The first blank is the old resource address, the second is the new resource address.