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.
npm test
npm run lint
AWS_PROFILE=ofcprod npm run package:prod -- --aws-profile ofcprodSee the remediation plan for production evidence, design and rollout checks.