Creating and importing workflow existing resources to terraform state

import workflow that will import existing resources in to terraform state file.
Please suggest how we can achieve this