Skip to content

Commit

Permalink
Update main.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Winkler authored Oct 11, 2020
1 parent 0a50c6f commit 97a6850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/autoscaling/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "aws_autoscaling_group" "webserver" {
max_size = 3
//vpc_zone_identifier = var.base.vpc.private_subnets
vpc_zone_identifier = var.base.vpc.public_subnets
target_group_arns = var.group == "green" ? var.base.target_group_arns.green : var.base.target_group_arns.blue
target_group_arns = var.label == "green" ? var.base.target_group_arns.green : var.base.target_group_arns.blue
launch_template {
id = aws_launch_template.webserver.id
version = aws_launch_template.webserver.latest_version
Expand Down

0 comments on commit 97a6850

Please sign in to comment.