Introduction
Sometimes you create resources outside Terraform and want Terraform to manage them. Importing lets Terraform track these resources. Import state verification checks that Terraform knows about the resource correctly.
When you have a cloud server created manually and want Terraform to manage it.
When you moved resources from one Terraform project to another and need to sync state.
When you want to avoid recreating existing resources by importing them into Terraform.
When you want to confirm Terraform's state matches the real resource after import.
When you want to fix Terraform state after manual changes outside Terraform.