Terraform allows you to safely manage your infrastructure by modifying configuration files. Terraform will show you an execution plan that you must approve before any infrastructure changes are applied. This Lab highlights several capabilities of Terraform that make managing infrastructure easy. You will learn how to import existing resources, understand configuration file interpolation syntax to reference resource attributes, and use variables to generalize configuration while you manage AWS resources with Terraform.
Upon completion of this Lab you will be able to:
You should be familiar with:
Before completing the Lab instructions, the environment will look as follows:
After completing the Lab instructions, the environment should look similar to:
Nov 7th, 2024 - Updated Terraform Version and Instructions to match the new version
May 22nd, 2023 - Resolved an issue that caused the lab to fail to setup on rare occasions
November 29th, 2022 - Updated lab to use EC2 Instance Connect and added checks
February 14th, 2022 - Updated link to Terraform docs page
August 28th, 2020 - Updated the SSH instructions to reflect the new EC2 user interface
January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab