awslabs / aws-config-rules

[Node, Python, Java] Repository of sample Custom Rules for AWS Config.
http://aws.amazon.com/config/
Creative Commons Zero v1.0 Universal
1.58k stars 851 forks source link

new rule to validate environment variables for lambda #339

Open sercasti opened 3 years ago

sercasti commented 3 years ago

I confirm these files are made available under CC0 1.0 Universal (https://creativecommons.org/publicdomain/zero/1.0/legalcode)

Description of changes: new rule to validate environment variables for lambda. Rule parameters configure the logic for validation, then the rule will validate every time a lambda is updated. I know nodeJS is not the favorite for this, but the rest of the rules in this customer are node based, so keeping it consistent. Feel free to create python version.

Screen Shot 2020-08-09 at 14 45 27