implement-best-practices is an AWS Lambda function for use with Lambder.
- python-lambder
This lambda function removes any ingress or egress rules in security groups that match the following:
- group_name is "default"
- Clone this repo
cp example_lambder.json lambder.json
- Edit lambder.json to set your S3 bucket
lambder function deploy
Schedule the function with a new event. Rember that the cron expression is based on UTC.
lambder events add \
--name ImplementBestPractices \
--function-name Lambder-implement-best-practices \
--cron 'cron(0 6 ? * * *)'