Skip to content
 
 

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

janitor-lambda

Scheduled Lambda that removes old published Lambda versions in the OFC AWS account.

The cleaner preserves:

  • $LATEST;
  • versions referenced by an alias, including weighted routing versions;
  • the newest two unaliased versions per function for rollback.

Control-plane calls are sequential, limited to five requests per second and use the AWS SDK standard retry strategy. The production job runs every six hours with reserved concurrency 1.

Validation

npm test
npm run lint
AWS_PROFILE=ofcprod npm run package:prod -- --aws-profile ofcprod

See the remediation plan for production evidence, design and rollout checks.

About

Lambda function to clean up old, unreferenced versions of Lambda functions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages