Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prefix list doesn't import any records #355

Open
edutu85 opened this issue Jan 9, 2024 · 2 comments
Open

prefix list doesn't import any records #355

edutu85 opened this issue Jan 9, 2024 · 2 comments

Comments

@edutu85
Copy link

edutu85 commented Jan 9, 2024

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.

iann0036 added a commit that referenced this issue Jan 16, 2024
@iann0036
Copy link
Owner

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.

@edutu85
Copy link
Author

edutu85 commented Jan 22, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants