You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The route table expander middleware (pkg/middlewares/aws_route_table_expander_test.goNewAwsRouteTableExpander) clearly states that it:
"Explodes routes found in aws_default_route_table.route and aws_route_table.route to dedicated resources"
which runs contrary to the purpose of driftctl which is to find "resources not covered by IaC".
Every route that is expanded by this middleware is a route that is not covered bi IaC, and is hidden from the user.
Why does this middleware exist ?
How to reproduce
Run driftctl against any AWS environment with manually added routes, and driftctl will not report those routes.
If aws_route_table_expander_test.goNewAwsRouteTableExpander are removed, propagated routes need to be ignored, or perhaps propagated routes are the only routes that this middleware expands and hence hides from the user.
The text was updated successfully, but these errors were encountered:
Description
The route table expander middleware (pkg/middlewares/aws_route_table_expander_test.goNewAwsRouteTableExpander) clearly states that it:
"Explodes routes found in aws_default_route_table.route and aws_route_table.route to dedicated resources"
which runs contrary to the purpose of driftctl which is to find "resources not covered by IaC".
Every route that is expanded by this middleware is a route that is not covered bi IaC, and is hidden from the user.
Why does this middleware exist ?
How to reproduce
Run driftctl against any AWS environment with manually added routes, and driftctl will not report those routes.
Possible Solution
Remove aws_route_table_expander_test.goNewAwsRouteTableExpander.
Additional context
If aws_route_table_expander_test.goNewAwsRouteTableExpander are removed, propagated routes need to be ignored, or perhaps propagated routes are the only routes that this middleware expands and hence hides from the user.
The text was updated successfully, but these errors were encountered: