Remove incompatible variable

There is a bug in TF script that lead to the inconsistent changes being made using script. The solution is, according to the Terraform official docs, to delete one of the `availability_zones` or `vpc_link_identifier` variables.
This commit is contained in:
Arsenii Petrovich 2019-11-22 15:14:18 +02:00 committed by GitHub
parent 882d14a814
commit 5c51e0d8ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -49,7 +49,6 @@ resource "aws_autoscaling_group" "explorer" {
desired_capacity = "1"
launch_configuration = aws_launch_configuration.explorer.name
vpc_zone_identifier = [aws_subnet.default.id]
availability_zones = data.aws_availability_zones.available.names
target_group_arns = [aws_lb_target_group.explorer[0].arn]
placement_group = var.use_placement_group[var.chains[count.index]] == "True" ? "${var.prefix}-${var.chains[count.index]}-explorer-pg" : null