Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

ASG with ALB Module

This is an example of how to use Terraform/OpenTofu to deploy an Auto Scaling Group (ASG) with an Application Load Balancer (ALB) in front of it.

To keep the example simple, we deploy a vanilla Ubuntu AMI across the ASG and we run a dirt simple "web server" on top of it as a User Data script. The "web server" always returns "Hello, World". See the root README for instructions on how to run this example code.

Note: This code is meant solely as a simple demonstration of how to lay out your files and folders with Terragrunt in a way that keeps your Terraform and OpenTofu code DRY. This is not production-ready code, so use at your own risk.