Complete the code to initialize Terraform state.
terraform [1]Terraform uses init to initialize the working directory and state backend.
Complete the code to show the current Terraform state.
terraform [1] showThe state show command displays detailed information about resources in the state.
Fix the error in the command to remove a resource from state.
terraform state [1] aws_instance.exampleThe correct command to remove a resource from state is terraform state rm.
Fill the blank to correctly move a resource in Terraform state.
terraform state [1] aws_instance.old_name aws_instance.new_nameThe terraform state mv command moves a resource in the state file from one name to another.
Fill both blanks to correctly import an existing resource into Terraform state.
terraform import [1] [2]
The terraform import command requires the resource address and the real resource ID.
