cloudposse / terraform-aws-vpc-peering-multi-account

Terraform module to provision a VPC peering across multiple VPCs in different accounts by using multiple providers
https://cloudposse.com/accelerate
Apache License 2.0
129 stars 92 forks source link

error running plan #17

Closed anewton1980 closed 3 years ago

anewton1980 commented 4 years ago

When I run terraform plan I get the below error

module.vpc_peering_cross_account: eval: *terraform.EvalLocal, err: Missing resource instance key: Because data.aws_route_tables.accepter has "count" set, its attributes must be accessed on specific instances.

For example, to correlate with indices of a referring resource, use: data.aws_route_tables.accepter[count.index]

njgerner commented 4 years ago

Related to #12. Update your source to the following until PR 16 is merged:

source    = "git::https://github.com/cloudposse/terraform-aws-vpc-peering-multi-account.git?ref=terraform-0.12"
SweetOps commented 3 years ago

has been resolved by https://github.com/cloudposse/terraform-aws-vpc-peering-multi-account/pull/29