Closed
Description
│ Error: Invalid count argument
│
│ on .terraform/modules/vpc-peering-multi-account/accepter.tf line 68, in data "aws_route_table" "accepter":
│ 68: count = local.accepter_enabled ? local.accepter_subnet_ids_count : 0
│
│ The "count" value depends on resource attributes that cannot be determined
│ until apply, so Terraform cannot predict how many instances will be created.
│ To work around this, use the -target argument to first apply only the
│ resources that the count depends on.
╵
╷
│ Error: Invalid count argument
│
│ on .terraform/modules/vpc-peering-multi-account/requester.tf line 122, in data "aws_route_table" "requester":
│ 122: count = local.enabled ? local.requester_subnet_ids_count : 0
│
│ The "count" value depends on resource attributes that cannot be determined
│ until apply, so Terraform cannot predict how many instances will be created.
│ To work around this, use the -target argument to first apply only the
│ resources that the count depends on.
╵