Importing existing environments
As we saw in the previous sections of this chapter, Terraform contains extensive import mechanisms that allow us to import individuals and a multitude of existing resources into our Terraform code base. These tools can help us overcome transient errors that result in orphaned resources that need to be managed with an existing Terraform code base and Terraform state file.
However, what happens when we don’t have any Terraform code written and many existing resources already provisioned within our cloud landscape? Manually reverse engineering all the Terraform code from scratch doesn’t seem like a useful way to spend our days. That’s why there are tools that help automate this process!
In this section, we’ll examine a couple of the most popular open-source tools for solving this problem.
Terraformer
Terraformer is an open-source tool developed by Google that helps with the process of importing existing cloud infrastructure...