Describe the bug
When user specifies any subnet that is not associated with route table in vpc as value in variables:
peer_subnets_ids
this_subnet_ids
then module is unable to find route tables for these subnets and fails to peer vpcs
Terraform version: 1.5.6
Module version: 6.0.0
Error message:
Error: query returned no results. Please change your search criteria and try again
│
│ with module.partial_subnets.data.aws_route_table.peer_subnet_rts[0],
Describe the bug When user specifies any subnet that is not associated with route table in vpc as value in variables:
peer_subnets_ids
this_subnet_ids
then module is unable to find route tables for these subnets and fails to peer vpcs
Terraform version: 1.5.6
Module version: 6.0.0
Error message:
Terraform code that produces the error:
Additional context Will provide a fix via PR