Skip to content

Latest commit

 

History

History

asg-elb-service

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

ASG with ELB Example

This is an example of how to use Terraform to deploy an Auto Scaling Group (ASG) with an Elastic Load Balancer (ELB) 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 code DRY. This is not production-ready code, so use at your own risk.