Udpate Terraform configuration

Update the Terraform configuration to properly register the ASG instances with the ELB

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
This commit is contained in:
Scott Lowe 2017-09-07 22:03:37 -06:00
parent d1c1f6c306
commit 2aec01ac64
No known key found for this signature in database
GPG key ID: 949F43F6E6C11780

View file

@ -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