aws-rds: cluster.addRotationSingleUser(); #13523
Labels
@aws-cdk/aws-rds
Related to Amazon Relational Database
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
in-progress
This issue is being actively worked on.
p1
Adding code like below to your cluster results in CDK generating the warning "Ignoring Egress rule since 'allowAllOutbound' is set to true; To add customize rules, set allowAllOutbound=false on the SecurityGroup".
What did you expect to happen?
No warning OR the underlying CDK methods should generate code that is compliant with itself to avoid unnecessary warnings.
What actually happened?
This warning shouldn't happen:
I believe this comes from this https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-rds/lib/cluster.ts#L539 which internally creates a new security group that triggers the warning.
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: