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

feat: add new securityGroupNoRuleManagementConflicts rule #108

Closed corymhall closed 4 months ago

corymhall commented 4 months ago

The docs have strongly worded note about not using inline rules along with separate security group resources. This PR adds a new rule which will warn the user when they use both together.

re pulumi/pulumi-aws#3788

t0yv0 commented 4 months ago

Great to have a test! Code looks good. Waiting on an ack that we can ship this in this repo, similar to my other PR.