terraform import command reference | Terraform | HashiCorp Developer

The `terraform import` command imports existing resources into Terraform state.