Complete the code to initialize Terraform local state.
terraform [1]The terraform init command initializes the local state and backend configuration.
Complete the code to show the current Terraform local state.
terraform [1]The terraform show command displays the current Terraform local state.
Fix the error in the command to remove a resource from local state.
terraform state [1] aws_instance.exampleThe terraform state rm command removes a resource from the local state file.
Fill both blanks to correctly output the Terraform state list filtered by resource type.
terraform state [1] | grep [2]
Use terraform state list to list resources, then filter with grep aws_instance to show only instances.
Fill all three blanks to correctly move a resource in local state to a new name.
terraform state [1] [2] [3]
The terraform state mv command renames a resource in the local state from old to new.