former2 icon indicating copy to clipboard operation
former2 copied to clipboard

prefix list doesn't import any records

Open edutu85 opened this issue 2 years ago • 2 comments

I have a few managed prefix lists which I am using to define the routes. Even though I am selecting the correct pl objects from the available list of prefix lists, there is no output to be generated:

No resources generated

terraform validate reports this: "destination_cidr_block": one of │ destination_cidr_block,destination_ipv6_cidr_block,destination_prefix_list_id must │ be specified on the route that uses prefix list.

edutu85 avatar Jan 09 '24 23:01 edutu85

Hey @edutu85,

I don't currently have comprehensive coverage of all Terraform resources, but I've added the prefix list resource for you just now. Let me know if that helps.

iann0036 avatar Jan 16 '24 05:01 iann0036

@iann0036 - thank you for adding this. I am using prefix lists to create the correct routes - in case a new subnet is being added, the only thing I have to do is to add it to the correct prefix list. I was able to have terraform create the prefix lists but I am still struggling to use the resoruce.id of the prefil list in the routing rule. I will check my code against the output generated by former2 and get back to you.

edutu85 avatar Jan 22 '24 23:01 edutu85