pulumi / pulumi-policy-aws

A policy pack of rules to enforce AWS best practices for security, reliability, cost, and more!
https://www.pulumi.com
Apache License 2.0
33 stars 6 forks source link

Check recommended RouteTable/ Route usage #110

Open t0yv0 opened 4 months ago

t0yv0 commented 4 months ago

Hello!

Issue details

https://www.pulumi.com/registry/packages/aws/api-docs/ec2/routetable/

NOTE on Route Tables and Routes: This provider currently provides both a standalone Route resource and a Route Table resource with routes defined in-line. At this time you cannot use a Route Table with in-line routes in conjunction with any Route resources. Doing so will cause a conflict of rule settings and will overwrite rules.

This could be a check that warns of incorrect usage.

Affected area/feature