It will create AWS Asg and Launch configuration using Terraform What it will create is written below :-
- Create a aws_launch_configuration
- Create an AWS auto-scaling group
- Create AWS autoscaling policy
- Create AWS CloudWatch alarm
- Create a security group
- Create an Elastic load balancer with cookie session persistence and use this load balancer in front of auto-scaling group
- Create a SSH key pair and use for AWS auto-scaling group