In this article, we’ll quickly review the main ways to automatically generate existing infrastructure code from an existing environment — how to clone an environment, make it work, and ensure that it’s repeatable.