fuzzy-terraform-import is a command-line tool for importing resources into terraform state
It uses the excellent go-fuzzyfinder library for the fuzzy-finding functionality.
$ go install github.com/paololazzari/fuzzy-terraform-import@latest
$ fuzzy-terraform-import
fuzzy-terraform-import looks at the terraform source (.tf) files and at the terraform state to determine which resources can be imported.
This project is under development. For a list of supported resources, check the supported resources.