terraform_remote_state
Terraform is able to import existing infrastructure. This allows you to take resources you have created by some other means and bring them under Terraform management.
To learn more, see Import.