Author: Not specified Language: erlang
Description: (v27) Timestamp: 2018-01-08 14:58:38 +0000
View raw paste Parent paste by: Not specified - Child paste by: Not specified Reply
resource "aws_autoscaling_group" "example" {
  launch_configuration = "${aws_launch_configuration.example.id}"
  availability_zones = ["${data.aws_availability_zones.all.names}"]
  load_balancers = ["${aws_elb.example.name}"]
  health_check_type = "ELB"
  min_size = 2
  max_size = 10
  tag {
    key = "Name"
    value = "terraform-asg-example"
    propagate_at_launch = true
  }
}

 output "elb_dns_name" {
      value = "${aws_elb.example.dns_name}"
}
View raw paste Parent paste by: Not specified - Child paste by: Not specified Reply