In this lab, you have learned how to use Terraform to provision a highly available infrastructure on AWS and configure SNS to send notifications. You also see that Elastic Load Balancing ensures EC2 instances are not directly exposed to internet because we access the Auto Scaling Group through the DNS of the ALB.
For more hands-on experience with Terraform, I want to provide some documentation and repositories that can help you enhance your Infrastructure as Code (IAC) skills. These repositories also have instructions and demos to help you understand the projects.
https://registry.terraform.io/providers/hashicorp/aws/latest/docs
Deploy web server with Terraform
Provision infrastructure for workshop AWS FCJ mission 1
Plus, here is the full source code Terraform of this lab.