Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 606 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 606 Bytes

Welcome

This repository contains a Lambda function for cleaning up orphaned Lambda Log Groups.

By default the function gets triggered at 11pm every night.

Prerequisites

  • NodeJS 8.10+ installed
  • AWS CLI configured with an IAM user with Administrator privileges
  • AWS SAM CLI installed
  • Mocha installed
  • ESLint installed

Setup

Create Build Assets Bucket

An S3 bucket is required to house all build and packaging outputs.

aws s3 mb s3://build-assets

Package

npm install
package.sh <build-assets-bucket-name>

Deploy

deploy.sh <stack-name>