0.12 support
andrewb3000 opened this issue · comments
Andrii Bryndzak commented
Are there any plans to add support for terraform 0.12?
Currently getting following errors:
Error: Missing resource instance key
on modules/terraform-aws-vpc-peering/main.tf line 46, in data "aws_subnet_ids" "requestor":
46: vpc_id = "${data.aws_vpc.requestor.id}"
Because data.aws_vpc.requestor has "count" set, its attributes must be
accessed on specific instances.
For example, to correlate with indices of a referring resource, use:
data.aws_vpc.requestor[count.index]
Error: Missing resource instance key
on modules/terraform-aws-vpc-peering/main.tf line 59, in data "aws_subnet_ids" "acceptor":
59: vpc_id = "${data.aws_vpc.acceptor.id}"
Because data.aws_vpc.acceptor has "count" set, its attributes must be accessed
on specific instances.
For example, to correlate with indices of a referring resource, use:
data.aws_vpc.acceptor[count.index]
Gaurav Rawat commented
when will this be available . I did some quick fixes but get issues with duplicate routes being added to routetable of acceptor and requestor