Complete the code to remove a resource named 'aws_instance.example' from the Terraform state.
terraform state rm [1]The correct command to remove a resource from Terraform state uses the exact resource address, such as aws_instance.example.
Complete the command to remove multiple resources at once from the Terraform state.
terraform state rm [1]To remove multiple resources, list them separated by spaces without commas or other separators.
Fix the error in the command to remove a resource from Terraform state.
terraform state rm [1]The resource address must be exact and without extra characters or spaces. The correct format is aws_instance.example.
Fill both blanks to remove a resource from a specific module in Terraform state.
terraform state rm [1].[2]
When removing a resource inside a module, the address includes the module path and the resource name, like module.webserver.example.
Fill all three blanks to remove a resource from a nested module in Terraform state.
terraform state rm [1].[2].[3]
For nested modules, the resource address includes each module in the path followed by the resource name, e.g., module.backend.module.database.aws_db_instance.