Baza-86 / stale-securitygroup-rule-analysis-with-serverless-architecture

MIT No Attribution
0 stars 0 forks source link

Bugfix: Timeout in SgaSortSGLambda #124

Open Baza-86 opened 8 months ago

Baza-86 commented 8 months ago

In larger accounts with more security group rules, more security group references, and more network interfaces, the SgaSortSGLambda is starting to timeout at 900s (max).

Baza-86 commented 8 months ago

Ultimately this came down to reducing the amount of work done unnecessarily. Commit d29684b creates a set of security groups that are used as references which reduced the processing time down from over 15 minutes to sub 2 minutes.

Baza-86 commented 8 months ago

test run 15/02 all okay