Terraform is a great way to deploy and manage infrastructure. But what about the existing infrastructure that has been deployed and managed manually? One of the main principles of infrastructure development is to "define everything in code'. To fully reap the benefits of operating your infrastructure through Terraform, pre-existing infrastructure should be managed and used in the same manner to prevent one-off environments and reduce risk. This often takes time and effort and is usually a considerable-sized project to migrate old infrastructure into Terraform retroactively.
In this lab, you will import pre-existing infrastructure into a Terraform state file managed by Terraform.
Upon completion of this lab, you will be able to:
This lab is intended for:
You should be familiar with:
The following course and lab can be used to fulfill the prerequisites:
December 22nd, 2023 - Lab updated to utilize CodeTour IDE
April 24th, 2023 - Resolved IDE delay