From 2aec01ac6405c105f6411f0e41febd6c7a22737c Mon Sep 17 00:00:00 2001 From: Scott Lowe Date: Thu, 7 Sep 2017 22:03:37 -0600 Subject: [PATCH] Udpate Terraform configuration Update the Terraform configuration to properly register the ASG instances with the ELB Signed-off-by: Scott Lowe --- terraform/aws/asg-elb/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/aws/asg-elb/main.tf b/terraform/aws/asg-elb/main.tf index 0c650b2..5b9f721 100644 --- a/terraform/aws/asg-elb/main.tf +++ b/terraform/aws/asg-elb/main.tf @@ -39,7 +39,7 @@ resource "aws_autoscaling_group" "asg" { max_size = "2" desired_capacity = "2" launch_configuration = "${aws_launch_configuration.lc.name}" - load_balancers = ["elb-test"] + load_balancers = ["${aws_elb.elb.name}"] lifecycle { create_before_destroy = true