This reverts commit 26bfb2d00a30bf30ebdd85ba2e1e19f37355853f.
This patch moves the code that discovers instances from metadata information to github.com/hashicorp/go-discover with sub-packages for each provider.