Uses Levenshtein distance to decide if the input is similar enough to one
of the given suggestions, and returns that suggestion if so.
The distance threshold of three was arrived at experimentally, and has
no objective basis.
This folder contains helper libraries for Terraform plugins. A running
joke is that this is "Terraform standard library" for plugins. The goal
of the packages in this directory are to provide high-level helpers to
make it easier to implement the various aspects of writing a plugin for
Terraform.