Introduction
When you start managing infrastructure with Terraform, you might already have resources created manually or by other tools. Importing existing resources lets Terraform know about these resources so it can manage them without recreating or deleting them.
When you want to start managing a cloud server that was created manually before using Terraform.
When you have a database instance created outside Terraform but want to include it in your Terraform setup.
When migrating infrastructure management from another tool to Terraform without downtime.
When you want to track and update existing network settings using Terraform.
When you want to avoid accidentally deleting resources that Terraform does not know about.